diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-09-30 02:54:01 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-09-30 02:54:01 +0000 |
commit | 1e4eeb314e41146a0ec6dbd56894d58ab8918de0 (patch) | |
tree | a5765358ce7de11d12e0ca6f285832d17492185f /cpukit | |
parent | 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-1e4eeb314e41146a0ec6dbd56894d58ab8918de0.tar.bz2 |
2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/termios_baud2num.c:
Include rtems/termiostypes.h.
Rename termios_baud_to_number into rtems_termios_baud_to_number.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 3 | ||||
-rw-r--r-- | cpukit/libcsupport/src/termios_baud2num.c | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 3e4c9cdb2c..c1a17af5d8 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,8 @@ 2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org> + * libcsupport/src/termios_baud2num.c: + Include rtems/termiostypes.h. + Rename termios_baud_to_number into rtems_termios_baud_to_number. * libcsupport/src/termios_baud2index.c: Include rtems/termiostypes.h. Rename termios_baud_to_index into rtems_termios_baud_to_index. diff --git a/cpukit/libcsupport/src/termios_baud2num.c b/cpukit/libcsupport/src/termios_baud2num.c index d6bbbaca38..15d34ae9fb 100644 --- a/cpukit/libcsupport/src/termios_baud2num.c +++ b/cpukit/libcsupport/src/termios_baud2num.c @@ -10,12 +10,13 @@ */ #include <sys/termios.h> +#include <rtems/termiostypes.h> -int termios_baud_to_number( +int32_t rtems_termios_baud_to_number( int termios_baud ) { - int baud; + int32_t baud; switch (termios_baud) { case B0: baud = 0; break; |