summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/include/confdefs.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/sapi/include/confdefs.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/sapi/include/confdefs.h')
-rw-r--r--cpukit/sapi/include/confdefs.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 1e1e3bb39e..04d8ae2a12 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -92,26 +92,26 @@ extern rtems_driver_address_table Device_drivers[];
#include <rtems/libio.h>
#ifdef CONFIGURE_INIT
-rtems_libio_init_functions_t rtems_libio_init_helper =
- #ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
- NULL;
- #else
+const rtems_libio_helper rtems_libio_init_helper =
+ #ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
+ rtems_libio_helper_null;
+ #else
rtems_libio_init;
- #endif
+ #endif
-rtems_libio_supp_functions_t rtems_libio_supp_helper =
- #ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
- NULL;
- #else
+const rtems_libio_helper rtems_libio_supp_helper =
+ #ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
+ rtems_libio_helper_null;
+ #else
open_dev_console;
- #endif
+ #endif
-rtems_fs_init_functions_t rtems_fs_init_helper =
- #ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
- NULL;
- #else
+const rtems_libio_helper rtems_fs_init_helper =
+ #ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
+ rtems_libio_helper_null;
+ #else
rtems_filesystem_initialize;
- #endif
+ #endif
#endif
#endif