summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxspin02/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxspin02/test.c')
-rw-r--r--testsuites/psxtests/psxspin02/test.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/testsuites/psxtests/psxspin02/test.c b/testsuites/psxtests/psxspin02/test.c
index 5e88d4a7e3..d30ff237e4 100644
--- a/testsuites/psxtests/psxspin02/test.c
+++ b/testsuites/psxtests/psxspin02/test.c
@@ -1,7 +1,11 @@
-/*
- * This test exercises the POSIX Spinlock manager.
+/**
+ * @file
*
- * COPYRIGHT (c) 1989-2009.
+ * This test exercises the POSIX Spinlock manager.
+ */
+
+/*
+ * COPYRIGHT (c) 1989-2012.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -22,6 +26,10 @@
#include <rtems.h> /* for task creation */
+/* forward declarations to avoid warnings */
+int test_main(void);
+rtems_task SpinlockThread(rtems_task_argument arg);
+
pthread_spinlock_t Spinlock;
rtems_task SpinlockThread(rtems_task_argument arg)