From 3c8eda77b91589f2829765666c5daad3a582537b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 12 May 2012 11:01:26 -0500 Subject: sptests - Eliminate missing prototype warnings --- testsuites/sptests/spprivenv01/init.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'testsuites/sptests/spprivenv01') 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 #include -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" ); -- cgit v1.2.3