diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-04-24 14:37:50 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-04-26 10:57:08 +0200 |
commit | 5fa0e5c5ecad85c5ef051032d2c2304a81f94a6d (patch) | |
tree | a285f3e6909db33a2c73ab413232d1e15c6bd5a5 /cpukit | |
parent | libcsupport: Make LibIO helper const (diff) | |
download | rtems-5fa0e5c5ecad85c5ef051032d2c2304a81f94a6d.tar.bz2 |
libcsupport: Rename open_dev_console()
Rename open_dev_console() to rtems_libio_post_driver(). Rename
rtems_libio_supp_helper to rtems_libio_post_driver_helper.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/libcsupport/include/rtems/libcsupport.h | 1 | ||||
-rw-r--r-- | cpukit/libcsupport/include/rtems/libio.h | 4 | ||||
-rw-r--r-- | cpukit/libcsupport/src/open_dev_console.c | 2 | ||||
-rw-r--r-- | cpukit/sapi/include/confdefs.h | 4 |
4 files changed, 5 insertions, 6 deletions
diff --git a/cpukit/libcsupport/include/rtems/libcsupport.h b/cpukit/libcsupport/include/rtems/libcsupport.h index 582e16b4bc..8699ba91be 100644 --- a/cpukit/libcsupport/include/rtems/libcsupport.h +++ b/cpukit/libcsupport/include/rtems/libcsupport.h @@ -67,7 +67,6 @@ extern void fix_syscall_errno(void); * Find amount of free heap remaining */ extern size_t malloc_free_space(void); -extern void open_dev_console(void); /** * @brief Get malloc status information. diff --git a/cpukit/libcsupport/include/rtems/libio.h b/cpukit/libcsupport/include/rtems/libio.h index 02db6bb4e6..ec2ced3e7b 100644 --- a/cpukit/libcsupport/include/rtems/libio.h +++ b/cpukit/libcsupport/include/rtems/libio.h @@ -1390,13 +1390,13 @@ typedef void (*rtems_libio_helper)(void); extern const rtems_libio_helper rtems_libio_init_helper; -extern const rtems_libio_helper rtems_libio_supp_helper; +extern const rtems_libio_helper rtems_libio_post_driver_helper; extern const rtems_libio_helper rtems_fs_init_helper; void rtems_libio_helper_null(void); -void open_dev_console(void); +void rtems_libio_post_driver(void); /** * @brief Creates a directory and all its parent directories according to diff --git a/cpukit/libcsupport/src/open_dev_console.c b/cpukit/libcsupport/src/open_dev_console.c index d204deede3..b67820265d 100644 --- a/cpukit/libcsupport/src/open_dev_console.c +++ b/cpukit/libcsupport/src/open_dev_console.c @@ -20,7 +20,7 @@ /* * This is a replaceable stub which opens the console, if present. */ -void open_dev_console(void) +void rtems_libio_post_driver(void) { int stdin_fd; int stdout_fd; diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index 04d8ae2a12..0d8c99bf0d 100644 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/sapi/include/confdefs.h @@ -99,11 +99,11 @@ const rtems_libio_helper rtems_libio_init_helper = rtems_libio_init; #endif -const rtems_libio_helper rtems_libio_supp_helper = +const rtems_libio_helper rtems_libio_post_driver_helper = #ifdef CONFIGURE_APPLICATION_DISABLE_FILESYSTEM rtems_libio_helper_null; #else - open_dev_console; + rtems_libio_post_driver; #endif const rtems_libio_helper rtems_fs_init_helper = |