diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-05-11 12:20:47 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-05-11 12:20:47 -0500 |
commit | 4c86e3d8bee2680c9be999b4627b19438f1ae728 (patch) | |
tree | e98cb2c409079e5507a1ddf9f5764781697f1b71 /testsuites/libtests/termios06 | |
parent | tmoverhd - Eliminate warnings (diff) | |
download | rtems-4c86e3d8bee2680c9be999b4627b19438f1ae728.tar.bz2 |
libtmtests - Eliminate missing prototype warnings
Diffstat (limited to 'testsuites/libtests/termios06')
-rw-r--r-- | testsuites/libtests/termios06/init.c | 15 | ||||
-rw-r--r-- | testsuites/libtests/termios06/test_pppd.c | 5 |
2 files changed, 18 insertions, 2 deletions
diff --git a/testsuites/libtests/termios06/init.c b/testsuites/libtests/termios06/init.c index 23c08a6629..204689e70b 100644 --- a/testsuites/libtests/termios06/init.c +++ b/testsuites/libtests/termios06/init.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 1989-2010. + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -23,6 +23,19 @@ #include <rtems/dumpbuf.h> #include <rtems/termiostypes.h> +/* forward declarations to avoid warnings */ +rtems_task Init(rtems_task_argument argument); +void open_it(void); +void Rx_Wake(struct termios *tty, void *arg); +void Tx_Wake(struct termios *tty, void *arg); +void set_wakeups(void); +void set_discipline(void); +void ioctl_it(void); +void close_it(void); +void write_it(void); +void read_helper(int fd, const char *expected); +void read_it(void); + void pppasyncattach(void); void ppp_test_driver_set_rx( const char *expected, size_t len ); diff --git a/testsuites/libtests/termios06/test_pppd.c b/testsuites/libtests/termios06/test_pppd.c index addbc73f43..39e46755e7 100644 --- a/testsuites/libtests/termios06/test_pppd.c +++ b/testsuites/libtests/termios06/test_pppd.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 1989-2010. + * COPYRIGHT (c) 1989-2012. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -16,6 +16,9 @@ #include <rtems/termiostypes.h> #include <rtems/dumpbuf.h> +/* forward declarations to avoid warnings */ +void ppp_test_driver_set_rx(const char *expected, size_t len); +void pppasyncattach(void); int pppopen(struct rtems_termios_tty *tty); int pppclose(struct rtems_termios_tty *tty); int pppread(struct rtems_termios_tty *tty, rtems_libio_rw_args_t *rw_args); |