diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1999-09-16 22:51:47 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1999-09-16 22:51:47 +0000 |
commit | a218d5ba2b023b6475d6097d9d74585ad1bdfba0 (patch) | |
tree | c6514cb78b43dcbd217520ae2e5fe68e4bc4ef49 /gcc/libgcc2.c | |
parent | fffeac96e0bb41205011e6092116ff91f1049b17 (diff) | |
download | gcc-a218d5ba2b023b6475d6097d9d74585ad1bdfba0.zip gcc-a218d5ba2b023b6475d6097d9d74585ad1bdfba0.tar.gz gcc-a218d5ba2b023b6475d6097d9d74585ad1bdfba0.tar.bz2 |
libgcc2.c (__do_global_ctors): Call atexit with one arg.
* libgcc2.c (__do_global_ctors): Call atexit with one arg.
* sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
Define HAVE_ON_EXIT.
From-SVN: r29465
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r-- | gcc/libgcc2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c index 96ce214..a27caa3 100644 --- a/gcc/libgcc2.c +++ b/gcc/libgcc2.c @@ -2868,7 +2868,7 @@ __do_global_ctors () } #endif DO_GLOBAL_CTORS_BODY; - atexit (__do_global_dtors, 0); + atexit (__do_global_dtors); } #endif /* no HAS_INIT_SECTION */ |