summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-09-30 02:44:53 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-09-30 02:44:53 +0000
commit07688ae50ab3648d29c217ae6f89ff55925df1cc (patch)
treecd7e06652c9cc4a80920d40cc0a34ae275f323b9 /c
parent2009-09-29 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-07688ae50ab3648d29c217ae6f89ff55925df1cc.tar.bz2
2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/serial/sersupp.h: Remove termios_baud_to_index, termios_baud_to_number (duplicate prototypes). Add C++-guards. Include rtems/termiostypes.h.
Diffstat (limited to 'c')
-rw-r--r--c/src/ChangeLog7
-rw-r--r--c/src/libchip/serial/sersupp.h13
2 files changed, 14 insertions, 6 deletions
diff --git a/c/src/ChangeLog b/c/src/ChangeLog
index c9861ed93c..57c458ae20 100644
--- a/c/src/ChangeLog
+++ b/c/src/ChangeLog
@@ -1,3 +1,10 @@
+2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * libchip/serial/sersupp.h: Remove termios_baud_to_index,
+ termios_baud_to_number (duplicate prototypes).
+ Add C++-guards.
+ Include rtems/termiostypes.h.
+
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/bsp-configure.m4: Add RTEMS_BSP_BOOTCARD_OPTIONS.
diff --git a/c/src/libchip/serial/sersupp.h b/c/src/libchip/serial/sersupp.h
index 29db6b298b..ee078eabe2 100644
--- a/c/src/libchip/serial/sersupp.h
+++ b/c/src/libchip/serial/sersupp.h
@@ -5,18 +5,19 @@
#ifndef __LIBCHIP_SERIAL_SUPPORT_h
#define __LIBCHIP_SERIAL_SUPPORT_h
-int termios_baud_to_index(
- int termios_baud
-);
+#include <rtems/termiostypes.h>
-int termios_baud_to_number(
- int termios_baud
-);
+#ifdef __cplusplus
+extern "C" {
+#endif
bool libchip_serial_default_probe(
int minor
);
+#ifdef __cplusplus
+}
+#endif
#endif
/* end of include file */