summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxclassic01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxclassic01/init.c')
-rw-r--r--testsuites/psxtests/psxclassic01/init.c16
1 files changed, 13 insertions, 3 deletions
diff --git a/testsuites/psxtests/psxclassic01/init.c b/testsuites/psxtests/psxclassic01/init.c
index 73dde280f6..ba3971ac27 100644
--- a/testsuites/psxtests/psxclassic01/init.c
+++ b/testsuites/psxtests/psxclassic01/init.c
@@ -1,7 +1,11 @@
-/*
- * Based upon user code supplied in conjunction with PR1759
+/**
+ * @file
*
- * COPYRIGHT (c) 1989-2011.
+ * Based upon user code supplied in conjunction with PR1759
+ */
+
+/*
+ * COPYRIGHT (c) 1989-2012.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -24,6 +28,12 @@
int Caught_signo = -1;
siginfo_t Caught_siginfo = { -1, -1, };
+/* forward declarations to avoid warnings */
+rtems_task Init(rtems_task_argument arg);
+void handler(int signo);
+void handler_info(int signo, siginfo_t *info, void *context);
+rtems_task test_task(rtems_task_argument arg);
+
void handler(int signo)
{
Caught_signo = signo;