diff options
Diffstat (limited to 'libc/stdlib')
-rw-r--r-- | libc/stdlib/atexit.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libc/stdlib/atexit.c b/libc/stdlib/atexit.c index c70318148..1962c1b63 100644 --- a/libc/stdlib/atexit.c +++ b/libc/stdlib/atexit.c @@ -224,10 +224,6 @@ extern void (*__app_fini)(void); extern void (*__rtld_fini)(void); -#ifdef _DL_FINI_CRT_COMPAT -extern void (*__dl_fini)(void); -#endif - /* * Normal program termination */ @@ -244,13 +240,8 @@ void exit(int rv) if (__app_fini != NULL) (__app_fini)(); #endif -#ifndef _DL_FINI_CRT_COMPAT if (__rtld_fini != NULL) (__rtld_fini)(); -#else - if (__dl_fini != NULL) - (__dl_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 |