summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include/rtems/libio.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-04-24 14:30:42 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-04-26 10:57:08 +0200
commita290fbe946944385480cff7b388a6cd8b9d27d38 (patch)
tree0304af8b9649aa9b8073b13027d1f81ed07bfbff /cpukit/libcsupport/include/rtems/libio.h
parentlibcsupport: Remove superfluous assignments (diff)
downloadrtems-a290fbe946944385480cff7b388a6cd8b9d27d38.tar.bz2
libcsupport: Make LibIO helper const
Add and use rtems_libio_helper function type. Add and use rtems_libio_helper_null() instead of NULL pointer.
Diffstat (limited to 'cpukit/libcsupport/include/rtems/libio.h')
-rw-r--r--cpukit/libcsupport/include/rtems/libio.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/cpukit/libcsupport/include/rtems/libio.h b/cpukit/libcsupport/include/rtems/libio.h
index 51e25c98c7..02db6bb4e6 100644
--- a/cpukit/libcsupport/include/rtems/libio.h
+++ b/cpukit/libcsupport/include/rtems/libio.h
@@ -1386,16 +1386,17 @@ static inline rtems_device_minor_number rtems_filesystem_dev_minor_t(
*/
void rtems_filesystem_initialize( void );
-typedef void (*rtems_libio_init_functions_t)(void);
-extern rtems_libio_init_functions_t rtems_libio_init_helper;
+typedef void (*rtems_libio_helper)(void);
-void open_dev_console(void);
+extern const rtems_libio_helper rtems_libio_init_helper;
-typedef void (*rtems_libio_supp_functions_t)(void);
-extern rtems_libio_supp_functions_t rtems_libio_supp_helper;
+extern const rtems_libio_helper rtems_libio_supp_helper;
-typedef void (*rtems_fs_init_functions_t)(void);
-extern rtems_fs_init_functions_t rtems_fs_init_helper;
+extern const rtems_libio_helper rtems_fs_init_helper;
+
+void rtems_libio_helper_null(void);
+
+void open_dev_console(void);
/**
* @brief Creates a directory and all its parent directories according to