summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spprivenv01
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/spprivenv01
parentRevert "Revert "libtests/complex: Avoid generated files"" (diff)
downloadrtems-3c8eda77b91589f2829765666c5daad3a582537b.tar.bz2
sptests - Eliminate missing prototype warnings
Diffstat (limited to 'testsuites/sptests/spprivenv01')
-rw-r--r--testsuites/sptests/spprivenv01/init.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/testsuites/sptests/spprivenv01/init.c b/testsuites/sptests/spprivenv01/init.c
index fb0c1a4f51..609f85cae5 100644
--- a/testsuites/sptests/spprivenv01/init.c
+++ b/testsuites/sptests/spprivenv01/init.c
@@ -17,7 +17,11 @@
#include <rtems/malloc.h>
#include <rtems/libcsupport.h>
-rtems_task task_routine( rtems_task_argument not_used )
+/* forward declarations to avoid warnings */
+rtems_task Init(rtems_task_argument argument);
+rtems_task task_routine(rtems_task_argument not_used);
+
+rtems_task task_routine(rtems_task_argument not_used)
{
rtems_status_code sc;
@@ -39,8 +43,7 @@ rtems_task Init(
rtems_id current_task_id;
rtems_id task_id;
rtems_name another_task_name;
- Heap_Information_block Info;
-
+
puts( "\n\n*** TEST USER ENVIRONMENT ROUTINE - 01 ***" );
puts( "Init - allocating most of heap -- OK" );