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:
Ralf Corsepius
2009-09-30 02:53:05 +00:00
parent 9a3c35a942
commit add4185e1f
2 changed files with 6 additions and 2 deletions

View File

@@ -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,

View File

@@ -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;