mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-13 05:35:38 +08:00
tests/termios: Fix warnings
This commit is contained in:
parent
1d99262f59
commit
8e35aaa9df
@ -7,14 +7,22 @@
|
||||
* http://www.rtems.org/license/LICENSE.
|
||||
*/
|
||||
|
||||
#include <machine/rtems-bsd-kernel-space.h>
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/ttydisc.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <rtems/console.h>
|
||||
#include <rtems/dumpbuf.h>
|
||||
#include <rtems/shell.h>
|
||||
#include <rtems/bsd/bsd.h>
|
||||
|
||||
@ -230,4 +238,4 @@ void termios_test_driver_set_rx_char( char ch )
|
||||
|
||||
chs[0] = ch;
|
||||
termios_test_driver_set_rx( &chs[0], 1 );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user