summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/serial
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2010-04-10 02:19:02 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2010-04-10 02:19:02 +0000
commit7e72d512fd17ed62f18a3047aff771e4e47a1df6 (patch)
tree443e56060e633cc73328f667568d2bb3c0b00e35 /c/src/libchip/serial
parentThis commit was generated by cvs2svn to compensate for changes in r23020, (diff)
downloadrtems-7e72d512fd17ed62f18a3047aff771e4e47a1df6.tar.bz2
Add extern "C".
Diffstat (limited to 'c/src/libchip/serial')
-rw-r--r--c/src/libchip/serial/serial.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/c/src/libchip/serial/serial.h b/c/src/libchip/serial/serial.h
index 3630cb81b0..eee3781779 100644
--- a/c/src/libchip/serial/serial.h
+++ b/c/src/libchip/serial/serial.h
@@ -20,6 +20,10 @@
#include <stdbool.h>
#include <termios.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* Types for get and set register routines
*/
@@ -149,5 +153,8 @@ extern console_tbl Console_Port_Tbl[];
extern console_data Console_Port_Data[];
extern unsigned long Console_Port_Count;
+#ifdef __cplusplus
+}
+#endif
+
#endif
-/* end of include file */