summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/termios08/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/termios08/init.c')
-rw-r--r--testsuites/libtests/termios08/init.c15
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];