diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-01-25 21:23:53 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-03 10:00:57 +0100 |
commit | f64c6b4c492bd4f4efe32ec69e9f4c69bf45be88 (patch) | |
tree | 8be32a9c186cb6d9245ee6d8564240ff33291679 /cpukit/libcsupport/src/newlibc_exit.c | |
parent | Use linker set for root file system initialization (diff) | |
download | rtems-f64c6b4c492bd4f4efe32ec69e9f4c69bf45be88.tar.bz2 |
Use atexit() handler to close std file descriptors
Diffstat (limited to 'cpukit/libcsupport/src/newlibc_exit.c')
-rw-r--r-- | cpukit/libcsupport/src/newlibc_exit.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cpukit/libcsupport/src/newlibc_exit.c b/cpukit/libcsupport/src/newlibc_exit.c index c093bb2a67..53f97b0731 100644 --- a/cpukit/libcsupport/src/newlibc_exit.c +++ b/cpukit/libcsupport/src/newlibc_exit.c @@ -14,8 +14,6 @@ #include <rtems.h> #if defined(RTEMS_NEWLIB) -#include <rtems/libio.h> - #include <stdio.h> #include <unistd.h> @@ -41,7 +39,6 @@ void _exit(int status) FINI_SYMBOL(); #endif - (*rtems_libio_exit_helper)(); rtems_shutdown_executive(status); /* does not return */ } |