diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-05-05 16:45:40 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-05-05 16:45:40 +0000 |
commit | 7c1e69429a28adf03216c755bc1b4504c6e735b2 (patch) | |
tree | 891479b5bad29f5dc64d0a430f768d7514ecbec5 /testsuites/samples/base_sp/init.c | |
parent | 2011-05-05 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-7c1e69429a28adf03216c755bc1b4504c6e735b2.tar.bz2 |
2011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* base_sp/apptask.c, base_sp/init.c, fileio/init.c, fileio/system.h,
nsecs/init.c, ticker/init.c, ticker/system.h, ticker/tasks.c: Remove
warnings.
Diffstat (limited to 'testsuites/samples/base_sp/init.c')
-rw-r--r-- | testsuites/samples/base_sp/init.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/testsuites/samples/base_sp/init.c b/testsuites/samples/base_sp/init.c index 3d30d16d3f..6bc12237ef 100644 --- a/testsuites/samples/base_sp/init.c +++ b/testsuites/samples/base_sp/init.c @@ -10,7 +10,7 @@ * * Output parameters: NONE * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2011. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -26,6 +26,7 @@ #define CONFIGURE_INIT #include "system.h" +#include "tmacros.h" #include <stdio.h> #define ARGUMENT 0 @@ -45,8 +46,11 @@ rtems_task Init( status = rtems_task_create( task_name, 1, RTEMS_MINIMUM_STACK_SIZE, RTEMS_INTERRUPT_LEVEL(0), RTEMS_DEFAULT_ATTRIBUTES, &tid ); + directive_failed( status, "create" ); status = rtems_task_start( tid, Application_task, ARGUMENT ); + directive_failed( status, "start" ); status = rtems_task_delete( RTEMS_SELF ); + directive_failed( status, "delete" ); } |