From add4185e1fb2bb315426b4fcf1c61b2a7a2e17e5 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 30 Sep 2009 02:53:05 +0000 Subject: [PATCH] =?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 * libcsupport/src/termios_baud2index.c: Include rtems/termiostypes.h. Rename termios_baud_to_index into rtems_termios_baud_to_index. --- cpukit/ChangeLog | 3 +++ cpukit/libcsupport/src/termios_baud2index.c | 5 +++-- 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 + * 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 +#include -int termios_baud_to_index( - int termios_baud +int rtems_termios_baud_to_index( + rtems_termios_baud_t termios_baud ) { int baud_index;