From 07688ae50ab3648d29c217ae6f89ff55925df1cc Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 30 Sep 2009 02:44:53 +0000 Subject: =?UTF-8?q?2009-09-30=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * libchip/serial/sersupp.h: Remove termios_baud_to_index, termios_baud_to_number (duplicate prototypes). Add C++-guards. Include rtems/termiostypes.h. --- c/src/ChangeLog | 7 +++++++ c/src/libchip/serial/sersupp.h | 13 +++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) (limited to 'c') 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 + + * 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 * 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 -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 */ -- cgit v1.2.3