forked from Imagelibrary/rtems
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user