diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-09-30 02:53:05 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-09-30 02:53:05 +0000 |
commit | add4185e1fb2bb315426b4fcf1c61b2a7a2e17e5 (patch) | |
tree | 045d6ffd809d13ef6b31f37db78cb4be7e0eb3d9 /cpukit | |
parent | 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-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')
-rw-r--r-- | cpukit/ChangeLog | 3 | ||||
-rw-r--r-- | 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 <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; |