diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-06-12 22:50:03 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-06-12 22:50:03 +0000 |
commit | da4b6e88edf35d9f0958a1bad0fff15acc20caf4 (patch) | |
tree | f65f2cef48c7b115da2f5d33a0fb161b0b5ee48b /cpukit | |
parent | added initialization of posix signal manager. (diff) | |
download | rtems-da4b6e88edf35d9f0958a1bad0fff15acc20caf4.tar.bz2 |
use exit() from newlib by default.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libcsupport/src/newlibc.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cpukit/libcsupport/src/newlibc.c b/cpukit/libcsupport/src/newlibc.c index 81b7ea5c5d..2509221d58 100644 --- a/cpukit/libcsupport/src/newlibc.c +++ b/cpukit/libcsupport/src/newlibc.c @@ -290,14 +290,6 @@ libc_init(int reentrant) } -void -exit(int status) -{ - libc_wrapup(); - rtems_shutdown_executive(status); -} - - /* * Function: _exit * Created: 94/12/10 @@ -331,6 +323,14 @@ void _exit(int status) { rtems_shutdown_executive(status); } + +#else + +void exit(int status) +{ + libc_wrapup(); + rtems_shutdown_executive(status); +} #endif |