summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxfile01/test_write.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxfile01/test_write.c')
-rw-r--r--testsuites/psxtests/psxfile01/test_write.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/testsuites/psxtests/psxfile01/test_write.c b/testsuites/psxtests/psxfile01/test_write.c
index 6597a95a27..3c9344af93 100644
--- a/testsuites/psxtests/psxfile01/test_write.c
+++ b/testsuites/psxtests/psxfile01/test_write.c
@@ -1,15 +1,17 @@
-/*
+/**
+ * @file
+ *
* A test support function which performs a write() and
* handles implied open(), lseek(), write(), and close() operations.
- *
- * COPYRIGHT (c) 1989-2009.
+ */
+
+/*
+ * 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
@@ -27,10 +29,12 @@
#include <pmacros.h>
+/* forward declarations to avoid warnings */
+void test_write(char *file, off_t offset, char *buffer);
+
/*
* test_write routine
*/
-
void test_write(
char *file,
off_t offset,