summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-04-24 14:37:50 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-04-26 10:57:08 +0200
commit5fa0e5c5ecad85c5ef051032d2c2304a81f94a6d (patch)
treea285f3e6909db33a2c73ab413232d1e15c6bd5a5
parentlibcsupport: Make LibIO helper const (diff)
downloadrtems-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.
-rw-r--r--c/src/lib/libbsp/shared/bsppost.c2
-rw-r--r--cpukit/libcsupport/include/rtems/libcsupport.h1
-rw-r--r--cpukit/libcsupport/include/rtems/libio.h4
-rw-r--r--cpukit/libcsupport/src/open_dev_console.c2
-rw-r--r--cpukit/sapi/include/confdefs.h4
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 =