diff options
Diffstat (limited to 'cpukit/libcsupport/include/rtems')
-rw-r--r-- | cpukit/libcsupport/include/rtems/termiostypes.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libcsupport/include/rtems/termiostypes.h b/cpukit/libcsupport/include/rtems/termiostypes.h index 5240b85106..f68de0c12f 100644 --- a/cpukit/libcsupport/include/rtems/termiostypes.h +++ b/cpukit/libcsupport/include/rtems/termiostypes.h @@ -527,7 +527,7 @@ extern const rtems_assoc_t rtems_termios_baud_table []; * @retval B0 Invalid baud value or a baud value of 0. * @retval other Baud constant according to @a baud. */ -tcflag_t rtems_termios_number_to_baud(rtems_termios_baud_t baud); +speed_t rtems_termios_number_to_baud(rtems_termios_baud_t baud); /** * @brief Convert Baud Part of Termios control flags to an integral Baud Value @@ -537,10 +537,10 @@ tcflag_t rtems_termios_number_to_baud(rtems_termios_baud_t baud); * @retval 0 Invalid baud value or a baud value of @c B0. * @retval other Integral baud value. */ -rtems_termios_baud_t rtems_termios_baud_to_number(tcflag_t c_cflag); +rtems_termios_baud_t rtems_termios_baud_to_number(speed_t c_cflag); -/** - * @brief Convert Bxxx Constant to Index +/** + * @brief Convert Bxxx Constant to Index */ int rtems_termios_baud_to_index(rtems_termios_baud_t termios_baud); |