summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spfifo03/init.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-05-12 11:01:26 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-05-31 10:06:16 -0500
commit3c8eda77b91589f2829765666c5daad3a582537b (patch)
tree3f36bfee4b90f119c52293a79680bb0df05b10b6 /testsuites/sptests/spfifo03/init.c
parentRevert "Revert "libtests/complex: Avoid generated files"" (diff)
downloadrtems-3c8eda77b91589f2829765666c5daad3a582537b.tar.bz2
sptests - Eliminate missing prototype warnings
Diffstat (limited to 'testsuites/sptests/spfifo03/init.c')
-rw-r--r--testsuites/sptests/spfifo03/init.c22
1 files changed, 8 insertions, 14 deletions
diff --git a/testsuites/sptests/spfifo03/init.c b/testsuites/sptests/spfifo03/init.c
index 2c3fb1ac26..143bed8d97 100644
--- a/testsuites/sptests/spfifo03/init.c
+++ b/testsuites/sptests/spfifo03/init.c
@@ -1,15 +1,5 @@
-/* Init
- *
- * This routine is the initialization task for this test program.
- * It is a user initialization task and has the responsibility
- * of invoking the test routine
- *
- * Input parameters:
- * not_used
- *
- * Output parameters: NONE
- *
- * COPYRIGHT (c) 1989-1999.
+/*
+ * COPYRIGHT (c) 1989-2012.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -33,6 +23,11 @@
#include <rtems.h>
#include <rtems/libio.h>
+/* forward declarations to avoid warnings */
+rtems_task Init(rtems_task_argument argument);
+rtems_task read_task(rtems_task_argument not_used);
+void test_main(void);
+
#define SEND_RCV_BUFSIZ 12
rtems_id Barrier;
@@ -91,8 +86,7 @@ rtems_task read_task(rtems_task_argument not_used)
rtems_task_delete( RTEMS_SELF );
}
-
-void test_main(void) //Also acts as the write task
+void test_main(void) /* Also acts as the write task */
{
rtems_id readTaskID;