summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog3
-rw-r--r--cpukit/libcsupport/src/termios_baud2index.c5
2 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 48f3e44841..3e4c9cdb2c 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,8 @@
2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
+ * libcsupport/src/termios_baud2index.c:
+ Include rtems/termiostypes.h.
+ Rename termios_baud_to_index into rtems_termios_baud_to_index.
* libcsupport/include/rtems/termiostypes.h: Include stdlib.h.
Add rtems_termios_baud_t.
Rename termios_number_to_baud into rtems_termios_number_to_baud,
diff --git a/cpukit/libcsupport/src/termios_baud2index.c b/cpukit/libcsupport/src/termios_baud2index.c
index 00703d2093..253ed40114 100644
--- a/cpukit/libcsupport/src/termios_baud2index.c
+++ b/cpukit/libcsupport/src/termios_baud2index.c
@@ -10,9 +10,10 @@
*/
#include <sys/termios.h>
+#include <rtems/termiostypes.h>
-int termios_baud_to_index(
- int termios_baud
+int rtems_termios_baud_to_index(
+ rtems_termios_baud_t termios_baud
)
{
int baud_index;