Use atexit() handler to close std file descriptors

This commit is contained in:
Sebastian Huber
2016-02-03 10:00:57 +01:00
parent 3d36164fe5
commit f64c6b4c49
4 changed files with 3 additions and 12 deletions
-7
View File
@@ -129,13 +129,6 @@ 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
#ifndef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
RTEMS_SYSINIT_ITEM(
rtems_filesystem_initialize,