forked from Imagelibrary/rtems
use exit() from newlib by default.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user