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().
This commit is contained in:
Sebastian Huber
2013-04-24 15:04:30 +02:00
parent 5fa0e5c5ec
commit b7cf1ff717
5 changed files with 48 additions and 25 deletions

View File

@@ -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;