summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spprivenv01
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-05-05 16:45:57 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-05-05 16:45:57 +0000
commitc0d7e23ce943acd34f20fca96540769ab1927ec9 (patch)
treeb148b73f506d1bdb7b007fe71dc1903e6861631f /testsuites/sptests/spprivenv01
parent2011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-c0d7e23ce943acd34f20fca96540769ab1927ec9.tar.bz2
2011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen12.c, sp09/sp09.scn, sp21/Makefile.am, sp35/priinv.c, sp39/init.c, sp50/init.c, sp57/init.c, sp72/init.c, sp73/init.c, spintrcritical01/init.c, spprivenv01/init.c, spsimplesched01/init.c, spsimplesched02/init.c: Remove warnings.
Diffstat (limited to 'testsuites/sptests/spprivenv01')
-rw-r--r--testsuites/sptests/spprivenv01/init.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/testsuites/sptests/spprivenv01/init.c b/testsuites/sptests/spprivenv01/init.c
index ed6270d692..3bd6958d2b 100644
--- a/testsuites/sptests/spprivenv01/init.c
+++ b/testsuites/sptests/spprivenv01/init.c
@@ -1,5 +1,5 @@
/*
- * COPYRIGHT (c) 1989-2010.
+ * COPYRIGHT (c) 1989-2011.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -20,11 +20,12 @@
rtems_task task_routine( rtems_task_argument not_used )
{
- int sc = 0;
+ rtems_status_code sc;
puts( "task_routine - setting up a private environment" );
sc = rtems_libio_set_private_env();
+ directive_failed( sc, "set private env" );
sleep( 1 );
rtems_task_delete( RTEMS_SELF );
@@ -34,12 +35,12 @@ rtems_task Init(
rtems_task_argument argument
)
{
- int sc = 0;
- bool status = 0;
- void *alloc_ptr = (void *)0;
- rtems_id current_task_id;
- rtems_id task_id;
- rtems_name another_task_name;
+ rtems_status_code sc;
+ bool status;
+ void *alloc_ptr;
+ 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 ***" );