summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/termios05
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-05-11 12:20:47 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-05-11 12:20:47 -0500
commit4c86e3d8bee2680c9be999b4627b19438f1ae728 (patch)
treee98cb2c409079e5507a1ddf9f5764781697f1b71 /testsuites/libtests/termios05
parenttmoverhd - Eliminate warnings (diff)
downloadrtems-4c86e3d8bee2680c9be999b4627b19438f1ae728.tar.bz2
libtmtests - Eliminate missing prototype warnings
Diffstat (limited to 'testsuites/libtests/termios05')
-rw-r--r--testsuites/libtests/termios05/init.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/testsuites/libtests/termios05/init.c b/testsuites/libtests/termios05/init.c
index 506cf5fc46..4dec03805f 100644
--- a/testsuites/libtests/termios05/init.c
+++ b/testsuites/libtests/termios05/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
@@ -22,6 +22,14 @@
#include <termios.h>
#include <rtems/dumpbuf.h>
+/* forward declarations to avoid warnings */
+rtems_task Init(rtems_task_argument argument);
+void write_helper(int fd, const char *c);
+void read_helper(int fd, const char *expected);
+void open_it(void);
+void close_it(void);
+void change_iflag(const char *desc, int mask, int new);
+
void write_helper(
int fd,
const char *c