summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp27/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/sp27/init.c')
-rw-r--r--testsuites/sptests/sp27/init.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/testsuites/sptests/sp27/init.c b/testsuites/sptests/sp27/init.c
index ffd202743e..9935f31e85 100644
--- a/testsuites/sptests/sp27/init.c
+++ b/testsuites/sptests/sp27/init.c
@@ -1,7 +1,7 @@
/*
* Test for rtems_semaphore_flush
*
- * COPYRIGHT (c) 1989-2009.
+ * COPYRIGHT (c) 1989-2012.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -16,12 +16,15 @@
#include <bsp.h>
#include <tmacros.h>
-void starttask(int arg);
-rtems_task subtask(rtems_task_argument arg);
-
#include <stdio.h>
#include <stdlib.h>
+/* forward declarations to avoid warnings */
+rtems_task Init(rtems_task_argument argument);
+void starttask(int arg);
+rtems_task subtask(rtems_task_argument arg);
+void doTest(void);
+
#define NTASK 4
#if defined(USE_COUNTING_SEMAPHORE)