diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-04-24 15:04:30 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-04-26 10:57:08 +0200 |
commit | b7cf1ff7174377c65816908be427e1a76a5fa20f (patch) | |
tree | 13fb6a245c53df77b5e4559d809c7984559156ef /cpukit/sapi | |
parent | libcsupport: Rename open_dev_console() (diff) | |
download | rtems-b7cf1ff7174377c65816908be427e1a76a5fa20f.tar.bz2 |
libcsupport: Delete libc_wrapup()
Add and use rtems_libio_exit_helper. Add rtems_libio_exit().
The fclose(stdin) etc. makes no sense during exit. This would use the
_REENT structure of the thread calling _exit().
Diffstat (limited to 'cpukit/sapi')
-rw-r--r-- | cpukit/sapi/include/confdefs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index 0d8c99bf0d..c15c8a385c 100644 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/sapi/include/confdefs.h @@ -106,6 +106,13 @@ const rtems_libio_helper rtems_libio_post_driver_helper = rtems_libio_post_driver; #endif +const rtems_libio_helper rtems_libio_exit_helper = + #ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM + rtems_libio_helper_null; + #else + rtems_libio_exit; + #endif + const rtems_libio_helper rtems_fs_init_helper = #ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM rtems_libio_helper_null; |