summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/termios_baud2index.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-09-30 02:53:05 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-09-30 02:53:05 +0000
commitadd4185e1fb2bb315426b4fcf1c61b2a7a2e17e5 (patch)
tree045d6ffd809d13ef6b31f37db78cb4be7e0eb3d9 /cpukit/libcsupport/src/termios_baud2index.c
parent2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-add4185e1fb2bb315426b4fcf1c61b2a7a2e17e5.tar.bz2
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.
Diffstat (limited to 'cpukit/libcsupport/src/termios_baud2index.c')
-rw-r--r--cpukit/libcsupport/src/termios_baud2index.c5
1 files changed, 3 insertions, 2 deletions
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;