[rtems commit] libcsupport: Rename open_dev_console()
Sebastian Huber
sebh at rtems.org
Fri Apr 26 09:04:11 UTC 2013
Module: rtems
Branch: master
Commit: 5fa0e5c5ecad85c5ef051032d2c2304a81f94a6d
Changeset: http://git.rtems.org/rtems/commit/?id=5fa0e5c5ecad85c5ef051032d2c2304a81f94a6d
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Apr 24 14:37:50 2013 +0200
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 351e4d7..24d13af 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 582e16b..8699ba9 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 02db6bb..ec2ced3 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 d204dee..b678202 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 04d8ae2..0d8c99b 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 =
More information about the vc
mailing list