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/termios08/init.c | |
parent | tmoverhd - Eliminate warnings (diff) | |
download | rtems-4c86e3d8bee2680c9be999b4627b19438f1ae728.tar.bz2 |
libtmtests - Eliminate missing prototype warnings
Diffstat (limited to '')
-rw-r--r-- | testsuites/libtests/termios08/init.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/testsuites/libtests/termios08/init.c b/testsuites/libtests/termios08/init.c index 08745cec0f..b3471a330f 100644 --- a/testsuites/libtests/termios08/init.c +++ b/testsuites/libtests/termios08/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,15 @@ #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 close_it(void); +void write_it(void); +void change_lflag( const char *desc, int mask, int new ); +void change_vmin_vtime( const char *desc, int min, int time ); +void read_it(ssize_t expected); + int Test_fd; void open_it(void) @@ -86,9 +95,7 @@ void change_vmin_vtime( const char *desc, int min, int time ) rtems_test_assert( rc == 0 ); } -void read_it( - ssize_t expected -) +void read_it( ssize_t expected ) { ssize_t rc; char buf[32]; |