forked from Imagelibrary/rtems
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>
|
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.
|
* libcsupport/include/rtems/termiostypes.h: Include stdlib.h.
|
||||||
Add rtems_termios_baud_t.
|
Add rtems_termios_baud_t.
|
||||||
Rename termios_number_to_baud into rtems_termios_number_to_baud,
|
Rename termios_number_to_baud into rtems_termios_number_to_baud,
|
||||||
|
|||||||
@@ -10,9 +10,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/termios.h>
|
#include <sys/termios.h>
|
||||||
|
#include <rtems/termiostypes.h>
|
||||||
|
|
||||||
int termios_baud_to_index(
|
int rtems_termios_baud_to_index(
|
||||||
int termios_baud
|
rtems_termios_baud_t termios_baud
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
int baud_index;
|
int baud_index;
|
||||||
|
|||||||
Reference in New Issue
Block a user