summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxfile01/test.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.c
parentlibtmtests - Eliminate missing prototype warnings (diff)
downloadrtems-6c2de6052d450fa36338ed0c082647b9d535a928.tar.bz2
psxtests - Eliminate missing prototype warnings
Diffstat (limited to 'testsuites/psxtests/psxfile01/test.c')
-rw-r--r--testsuites/psxtests/psxfile01/test.c15
1 files changed, 11 insertions, 4 deletions
diff --git a/testsuites/psxtests/psxfile01/test.c b/testsuites/psxtests/psxfile01/test.c
index 6ce62c65c8..20a079277e 100644
--- a/testsuites/psxtests/psxfile01/test.c
+++ b/testsuites/psxtests/psxfile01/test.c
@@ -1,4 +1,6 @@
-/*
+/**
+ * @file
+ *
* Simple test program to exercise some of the basic functionality of
* POSIX Files and Directories Support.
*
@@ -9,8 +11,10 @@
* /
* /dev
* /dev/XXX [where XXX includes at least console]
- *
- * COPYRIGHT (c) 1989-2011.
+ */
+
+/*
+ * COPYRIGHT (c) 1989-2012.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -40,7 +44,11 @@
#include "primode.h"
+/* forward declarations to avoid warnings */
void test_case_reopen_append(void);
+void dump_statbuf(struct stat *buf);
+void stat_a_file(const char *file);
+int test_main(void);
char test_write_buffer[ 1024 ];
rtems_filesystem_operations_table IMFS_ops_no_evalformake;
@@ -70,7 +78,6 @@ void test_extend(
/*
* dump_statbuf
*/
-
void dump_statbuf( struct stat *buf )
{
int major1;