summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/termios03/termios_testdriver_polled.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/termios03/termios_testdriver_polled.c')
-rw-r--r--testsuites/libtests/termios03/termios_testdriver_polled.c23
1 files changed, 20 insertions, 3 deletions
diff --git a/testsuites/libtests/termios03/termios_testdriver_polled.c b/testsuites/libtests/termios03/termios_testdriver_polled.c
index 88807de06f..6c197fff2a 100644
--- a/testsuites/libtests/termios03/termios_testdriver_polled.c
+++ b/testsuites/libtests/termios03/termios_testdriver_polled.c
@@ -1,7 +1,11 @@
-/*
- * This file contains a test fixture termios device driver
+/**
+ * @file
*
- * COPYRIGHT (c) 1989-2011.
+ * This file contains a test fixture termios device driver
+ */
+
+/*
+ * COPYRIGHT (c) 1989-2012.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -21,6 +25,19 @@
#include <rtems/dumpbuf.h>
#include "termios_testdriver_polled.h"
+/* forward declarations to avoid warnings */
+int termios_test_driver_inbyte_nonblocking(int port);
+void termios_test_driver_outbyte_polled(int port, char ch);
+ssize_t termios_test_driver_write_support(
+ int minor,
+ const char *buf,
+ size_t len
+);
+int termios_test_driver_set_attributes(
+ int minor,
+ const struct termios *t
+);
+
#define TX_MAX 1024
uint8_t Tx_Buffer[TX_MAX];
int Tx_Index = 0;