summaryrefslogtreecommitdiffstats
path: root/c/src/libchip
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/src/libchip
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/src/libchip')
-rw-r--r--c/src/libchip/serial/sersupp.h13
1 files changed, 7 insertions, 6 deletions
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 */