diff options
Diffstat (limited to 'testsuites/sptests/spsimplesched02/init.c')
-rw-r--r-- | testsuites/sptests/spsimplesched02/init.c | 11 |
1 files changed, 8 insertions, 3 deletions
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 <tmacros.h> +/* 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 |