summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-12-06 08:02:31 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-12-06 08:02:31 +0000
commit01d79edf78da967673a3b89f4d2fd117d4ecb206 (patch)
treef1f07e94c3690b0e5fa7b8d2d0897b6c8d0433f3
parent3ab21dce110c8625f715622e1fdf215b343b7b6a (diff)
downloadrtems-01d79edf78da967673a3b89f4d2fd117d4ecb206.tar.bz2
2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/serdbg/serdbg.h: Add serdbg_init_dbg. * libmisc/serdbg/serdbgcnf.h: Remove conditional serdbg_init_dbg prototype.
-rw-r--r--cpukit/ChangeLog6
-rw-r--r--cpukit/libmisc/serdbg/serdbg.h3
-rw-r--r--cpukit/libmisc/serdbg/serdbgcnf.h1
3 files changed, 9 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 0cd54c118e..220e899d4f 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,11 @@
2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
+ * libmisc/serdbg/serdbg.h: Add serdbg_init_dbg.
+ * libmisc/serdbg/serdbgcnf.h:
+ Remove conditional serdbg_init_dbg prototype.
+
+2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
+
* libmisc/mouse/serial_mouse.c: Make serial_mouse_l_rint static.
* libfs/src/pipe/pipe.c: Include <rtems/pipe.h> (Missing
prototypes).
diff --git a/cpukit/libmisc/serdbg/serdbg.h b/cpukit/libmisc/serdbg/serdbg.h
index c6d26d0260..828ac96561 100644
--- a/cpukit/libmisc/serdbg/serdbg.h
+++ b/cpukit/libmisc/serdbg/serdbg.h
@@ -139,6 +139,9 @@ int serdbg_open
| 0 on success, -1 and errno otherwise |
\*=========================================================================*/
+
+extern int serdbg_init_dbg(void);
+
/*
* Assumed to be provided by the BSP
*/
diff --git a/cpukit/libmisc/serdbg/serdbgcnf.h b/cpukit/libmisc/serdbg/serdbgcnf.h
index 3820f61f8a..eec68aa119 100644
--- a/cpukit/libmisc/serdbg/serdbgcnf.h
+++ b/cpukit/libmisc/serdbg/serdbgcnf.h
@@ -73,7 +73,6 @@ serdbg_conf_t serdbg_conf = {
int serdbg_init(void) {
#ifdef CONFIGURE_USE_SERDBG
- extern int serdbg_init_dbg(void);
return serdbg_init_dbg();
#else
return 0;