summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxfile01/test.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-05-14 09:06:58 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-05-14 09:06:58 +0200
commitd5d071d5e2e201859f91fae0993772e1bc426469 (patch)
treef5c86cdb93a1bee4f8ce4f5a143ce90c454659a2 /testsuites/psxtests/psxfile01/test.c
parentMerge branch 'upstream' (diff)
parentPR2065: RBTree: Insert function (protected) does not enable interrupts (diff)
downloadrtems-d5d071d5e2e201859f91fae0993772e1bc426469.tar.bz2
Merge branch 'upstream'
Diffstat (limited to 'testsuites/psxtests/psxfile01/test.c')
-rw-r--r--testsuites/psxtests/psxfile01/test.c17
1 files changed, 11 insertions, 6 deletions
diff --git a/testsuites/psxtests/psxfile01/test.c b/testsuites/psxtests/psxfile01/test.c
index a82303bd17..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,15 +11,15 @@
* /
* /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
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
- *
- * $Id$
*/
#ifdef HAVE_CONFIG_H
@@ -42,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;
@@ -72,7 +78,6 @@ void test_extend(
/*
* dump_statbuf
*/
-
void dump_statbuf( struct stat *buf )
{
int major1;