mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
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.
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user