From d48eca4146670ec7c07b2d85ec667bb91d263c68 Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Tue, 13 Sep 2005 02:37:42 +0000 Subject: Finish merge from trunk. --- libc/stdlib/atexit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libc/stdlib/atexit.c') 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 -- cgit v1.2.3