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/spsimplesched02/init.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'testsuites/sptests/spsimplesched02') diff --git a/testsuites/sptests/spsimplesched02/init.c b/testsuites/sptests/spsimplesched02/init.c index 9da34bc915..8b053b6917 100644 --- a/testsuites/sptests/spsimplesched02/init.c +++ b/testsuites/sptests/spsimplesched02/init.c @@ -1,4 +1,4 @@ -/* +/* * COPYRIGHT (c) 2011. * On-Line Applications Research Corporation (OAR). * @@ -13,6 +13,11 @@ #include +/* forward declarations to avoid warnings */ +rtems_task Init(rtems_task_argument argument); +rtems_task Test_task(rtems_task_argument argument); +void ObtainRelease(bool suspendIdle); + /* * Keep the names and IDs in global variables so another task can use them. */ @@ -37,7 +42,7 @@ rtems_task Test_task( } } -void ObtainRelease( bool suspendIdle ) +void ObtainRelease( bool suspendIdle ) { rtems_status_code status; @@ -128,7 +133,7 @@ rtems_task Init( #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER -#define CONFIGURE_MAXIMUM_TASKS 3 +#define CONFIGURE_MAXIMUM_TASKS 3 #define CONFIGURE_MAXIMUM_SEMAPHORES 2 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE -- cgit v1.2.3