summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxfile01/test_cat.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-05-11 14:12:11 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-05-11 14:12:11 -0500
commit6c2de6052d450fa36338ed0c082647b9d535a928 (patch)
treecf352d1305edc992fceda6c7b75ab3658b982834 /testsuites/psxtests/psxfile01/test_cat.c
parentlibtmtests - Eliminate missing prototype warnings (diff)
downloadrtems-6c2de6052d450fa36338ed0c082647b9d535a928.tar.bz2
psxtests - Eliminate missing prototype warnings
Diffstat (limited to 'testsuites/psxtests/psxfile01/test_cat.c')
-rw-r--r--testsuites/psxtests/psxfile01/test_cat.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/testsuites/psxtests/psxfile01/test_cat.c b/testsuites/psxtests/psxfile01/test_cat.c
index a828f8a227..ac291026e0 100644
--- a/testsuites/psxtests/psxfile01/test_cat.c
+++ b/testsuites/psxtests/psxfile01/test_cat.c
@@ -1,8 +1,12 @@
-/*
+/**
+ * @file
+ *
* A test support function which performs a crude version of
* "cat" so you can look at specific parts of a file.
- *
- * COPYRIGHT (c) 1989-2009.
+ */
+
+/*
+ * COPYRIGHT (c) 1989-2012.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -26,6 +30,9 @@
#include <tmacros.h>
+/* forward declarations to avoid warnings */
+void test_cat(char *file, int offset_arg, int length);
+
/*
* test_cat routine
*/