use exit() from newlib by default.

This commit is contained in:
Joel Sherrill
1996-06-12 22:50:03 +00:00
parent 2e0ebd11ad
commit da4b6e88ed
3 changed files with 24 additions and 24 deletions

View File

@@ -290,14 +290,6 @@ libc_init(int reentrant)
} }
void
exit(int status)
{
libc_wrapup();
rtems_shutdown_executive(status);
}
/* /*
* Function: _exit * Function: _exit
* Created: 94/12/10 * Created: 94/12/10
@@ -331,6 +323,14 @@ void _exit(int status)
{ {
rtems_shutdown_executive(status); rtems_shutdown_executive(status);
} }
#else
void exit(int status)
{
libc_wrapup();
rtems_shutdown_executive(status);
}
#endif #endif

View File

@@ -290,14 +290,6 @@ libc_init(int reentrant)
} }
void
exit(int status)
{
libc_wrapup();
rtems_shutdown_executive(status);
}
/* /*
* Function: _exit * Function: _exit
* Created: 94/12/10 * Created: 94/12/10
@@ -331,6 +323,14 @@ void _exit(int status)
{ {
rtems_shutdown_executive(status); rtems_shutdown_executive(status);
} }
#else
void exit(int status)
{
libc_wrapup();
rtems_shutdown_executive(status);
}
#endif #endif

View File

@@ -290,14 +290,6 @@ libc_init(int reentrant)
} }
void
exit(int status)
{
libc_wrapup();
rtems_shutdown_executive(status);
}
/* /*
* Function: _exit * Function: _exit
* Created: 94/12/10 * Created: 94/12/10
@@ -331,6 +323,14 @@ void _exit(int status)
{ {
rtems_shutdown_executive(status); rtems_shutdown_executive(status);
} }
#else
void exit(int status)
{
libc_wrapup();
rtems_shutdown_executive(status);
}
#endif #endif