diff options
Diffstat (limited to 'libc/stdlib')
-rw-r--r-- | libc/stdlib/atexit.c | 3 |
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 |