mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 19:11:44 +08:00
2009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/newlibc_exit.c: Eliminate RTEMS_UNIX.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
2009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libcsupport/src/newlibc_exit.c: Eliminate RTEMS_UNIX.
|
||||
* libcsupport/src/base_fs.c: Eliminate RTEMS_UNIX.
|
||||
* libcsupport/src/stat.c: Eliminate RTEMS_UNIX.
|
||||
* libmisc/monitor/mon-editor.c: Eliminate RTEMS_UNIX.
|
||||
|
||||
@@ -119,7 +119,7 @@ void libc_wrapup(void)
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#if !defined(RTEMS_UNIX)
|
||||
/* FIXME: These defines are a blatant hack */
|
||||
#define EXIT_SYMBOL _exit
|
||||
|
||||
#if defined(__AVR__)
|
||||
@@ -134,9 +134,6 @@ void libc_wrapup(void)
|
||||
|
||||
extern void FINI_SYMBOL( void );
|
||||
#endif
|
||||
#else
|
||||
#define EXIT_SYMBOL exit
|
||||
#endif
|
||||
|
||||
void EXIT_SYMBOL(int status)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user