summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/serdbg/serdbg.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libmisc/serdbg/serdbg.h')
-rw-r--r--cpukit/libmisc/serdbg/serdbg.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/libmisc/serdbg/serdbg.h b/cpukit/libmisc/serdbg/serdbg.h
index 00d5d827e1..963c117877 100644
--- a/cpukit/libmisc/serdbg/serdbg.h
+++ b/cpukit/libmisc/serdbg/serdbg.h
@@ -25,6 +25,9 @@
#include <rtems.h>
#include <termios.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
typedef struct {
uint32_t baudrate; /* debug baud rate, e.g. 57600 */
void (*callout)(void); /* callout pointer during polling */
@@ -171,4 +174,8 @@ int getDebugChar
| received character |
\*=========================================================================*/
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _SERDBG_H */