summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxspin01/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxspin01/main.c')
-rw-r--r--testsuites/psxtests/psxspin01/main.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/testsuites/psxtests/psxspin01/main.c b/testsuites/psxtests/psxspin01/main.c
index 292901d851..26497c1894 100644
--- a/testsuites/psxtests/psxspin01/main.c
+++ b/testsuites/psxtests/psxspin01/main.c
@@ -1,7 +1,11 @@
-/*
- * Simple test program wrapper for Spinlocks
+/**
+ * @file
*
- * COPYRIGHT (c) 1989-2008.
+ * Simple test program wrapper for Spinlocks
+ */
+
+/*
+ * COPYRIGHT (c) 1989-2012.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -17,8 +21,10 @@
#include <bsp.h>
#include <pmacros.h>
-
-void test_main( void );
+
+/* forward declarations to avoid warnings */
+rtems_task Init(rtems_task_argument ignored);
+void test_main(void);
rtems_task Init(
rtems_task_argument ignored