diff options
Diffstat (limited to 'newlib/libc/misc/fini.c')
-rw-r--r-- | newlib/libc/misc/fini.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/misc/fini.c b/newlib/libc/misc/fini.c index 56eed6c..5f20160 100644 --- a/newlib/libc/misc/fini.c +++ b/newlib/libc/misc/fini.c @@ -13,11 +13,11 @@ /* Handle ELF .{pre_init,init,fini}_array sections. */ #include <sys/types.h> -#ifdef HAVE_INITFINI_ARRAY +#ifdef _HAVE_INITFINI_ARRAY extern void (*__fini_array_start []) (void) __attribute__((weak)); extern void (*__fini_array_end []) (void) __attribute__((weak)); -#ifdef HAVE_INIT_FINI +#ifdef _HAVE_INIT_FINI extern void _fini (void); #endif @@ -32,7 +32,7 @@ __libc_fini_array (void) for (i = count; i > 0; i--) __fini_array_start[i-1] (); -#ifdef HAVE_INIT_FINI +#ifdef _HAVE_INIT_FINI _fini (); #endif } |