summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/serdbg
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 /cpukit/libmisc/serdbg
parent2011-12-06 Ralf Cors├ępius <ralf.corsepius@rtems.org> (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.
Diffstat (limited to 'cpukit/libmisc/serdbg')
-rw-r--r--cpukit/libmisc/serdbg/serdbg.h3
-rw-r--r--cpukit/libmisc/serdbg/serdbgcnf.h1
2 files changed, 3 insertions, 1 deletions
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;