summaryrefslogtreecommitdiffstats
path: root/libc/stdlib
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-09-13 02:37:42 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-09-13 02:37:42 +0000
commitd48eca4146670ec7c07b2d85ec667bb91d263c68 (patch)
treef276bded0692638d0d40ddfd227180bc5bb7ab79 /libc/stdlib
parent07a485defae1ef578c5b3ce0d4373201948a7345 (diff)
downloaduClibc-alpine-d48eca4146670ec7c07b2d85ec667bb91d263c68.tar.bz2
uClibc-alpine-d48eca4146670ec7c07b2d85ec667bb91d263c68.tar.xz
Finish merge from trunk.
Diffstat (limited to 'libc/stdlib')
-rw-r--r--libc/stdlib/atexit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/stdlib/atexit.c b/libc/stdlib/atexit.c
index 280f42cb7..1962c1b63 100644
--- a/libc/stdlib/atexit.c
+++ b/libc/stdlib/atexit.c
@@ -223,6 +223,7 @@ extern void (*__app_fini)(void);
#endif
extern void (*__rtld_fini)(void);
+
/*
* Normal program termination
*/
@@ -239,10 +240,8 @@ void exit(int rv)
if (__app_fini != NULL)
(__app_fini)();
#endif
-#ifndef _DL_FINI_CRT_COMPAT
if (__rtld_fini != NULL)
(__rtld_fini)();
-#endif
/* If we are using stdio, try to shut it down. At the very least,
* this will attempt to commit all buffered writes. It may also