diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-18 19:18:52 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-18 19:18:52 +0000 |
commit | f73fc29d6692e721e50a7a595d07faab29048a03 (patch) | |
tree | dc0b4c271eb1a035241fc9477db935a7e7163704 /cpukit/libcsupport/src/newlibc_exit.c | |
parent | 2008-08-18 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-f73fc29d6692e721e50a7a595d07faab29048a03.tar.bz2 |
2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/include/rtems/itron/task.h, itron/src/def_cyc.c,
itron/src/task.c, libcsupport/src/newlibc_exit.c,
libcsupport/src/sync.c, libfs/src/imfs/imfs_fchmod.c,
posix/include/rtems/posix/pthread.h, posix/src/pthread.c,
posix/src/sysconf.c, rtems/include/rtems/rtems/tasks.h,
rtems/src/tasks.c, score/include/rtems/score/stack.h,
score/inline/rtems/score/stack.inl,
score/inline/rtems/score/thread.inl, score/src/threadhandler.c: Fix
various nested-externs warnings.
Diffstat (limited to 'cpukit/libcsupport/src/newlibc_exit.c')
-rw-r--r-- | cpukit/libcsupport/src/newlibc_exit.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/newlibc_exit.c b/cpukit/libcsupport/src/newlibc_exit.c index 06fdab5cfa..68212b692e 100644 --- a/cpukit/libcsupport/src/newlibc_exit.c +++ b/cpukit/libcsupport/src/newlibc_exit.c @@ -121,6 +121,10 @@ void libc_wrapup(void) #if !defined(RTEMS_UNIX) #define EXIT_SYMBOL _exit + + #if defined(__USE_INIT_FINI__) + extern void _fini( void ); + #endif #else #define EXIT_SYMBOL exit #endif @@ -132,7 +136,6 @@ void EXIT_SYMBOL(int status) * run the global destructors now. */ #if defined(__USE_INIT_FINI__) - extern void _fini( void ); _fini(); #endif |