From 270bd86b4f1ed78013a1c7839732e21ab9774472 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 8 Sep 2005 02:35:30 +0000 Subject: punt _DL_FINI_CRT_COMPAT option now that 0.9.28 has been released --- libc/stdlib/atexit.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'libc/stdlib/atexit.c') 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 -- cgit v1.2.3