From 5fa0e5c5ecad85c5ef051032d2c2304a81f94a6d Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 24 Apr 2013 14:37:50 +0200 Subject: 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. --- c/src/lib/libbsp/shared/bsppost.c | 2 +- cpukit/libcsupport/include/rtems/libcsupport.h | 1 - cpukit/libcsupport/include/rtems/libio.h | 4 ++-- cpukit/libcsupport/src/open_dev_console.c | 2 +- cpukit/sapi/include/confdefs.h | 4 ++-- 5 files changed, 6 insertions(+), 7 deletions(-) diff --git a/c/src/lib/libbsp/shared/bsppost.c b/c/src/lib/libbsp/shared/bsppost.c index 351e4d789c..24d13afb43 100644 --- a/c/src/lib/libbsp/shared/bsppost.c +++ b/c/src/lib/libbsp/shared/bsppost.c @@ -18,5 +18,5 @@ void bsp_postdriver_hook(void) { - (*rtems_libio_supp_helper)(); + (*rtems_libio_post_driver_helper)(); } 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 = -- cgit v1.2.3