<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2011-05-05)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>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.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/samples/ChangeLog.diff?r1=text&tr1=1.187&r2=text&tr2=1.188&diff_format=h">M</a></td><td width='1%'>1.188</td><td width='100%'>testsuites/samples/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/samples/base_sp/apptask.c.diff?r1=text&tr1=1.15&r2=text&tr2=1.16&diff_format=h">M</a></td><td width='1%'>1.16</td><td width='100%'>testsuites/samples/base_sp/apptask.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/samples/base_sp/init.c.diff?r1=text&tr1=1.12&r2=text&tr2=1.13&diff_format=h">M</a></td><td width='1%'>1.13</td><td width='100%'>testsuites/samples/base_sp/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/samples/fileio/init.c.diff?r1=text&tr1=1.31&r2=text&tr2=1.32&diff_format=h">M</a></td><td width='1%'>1.32</td><td width='100%'>testsuites/samples/fileio/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/samples/fileio/system.h.diff?r1=text&tr1=1.16&r2=text&tr2=1.17&diff_format=h">M</a></td><td width='1%'>1.17</td><td width='100%'>testsuites/samples/fileio/system.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/samples/nsecs/init.c.diff?r1=text&tr1=1.14&r2=text&tr2=1.15&diff_format=h">M</a></td><td width='1%'>1.15</td><td width='100%'>testsuites/samples/nsecs/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/samples/ticker/init.c.diff?r1=text&tr1=1.14&r2=text&tr2=1.15&diff_format=h">M</a></td><td width='1%'>1.15</td><td width='100%'>testsuites/samples/ticker/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/samples/ticker/system.h.diff?r1=text&tr1=1.23&r2=text&tr2=1.24&diff_format=h">M</a></td><td width='1%'>1.24</td><td width='100%'>testsuites/samples/ticker/system.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/samples/ticker/tasks.c.diff?r1=text&tr1=1.15&r2=text&tr2=1.16&diff_format=h">M</a></td><td width='1%'>1.16</td><td width='100%'>testsuites/samples/ticker/tasks.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/samples/ChangeLog:1.187 rtems/testsuites/samples/ChangeLog:1.188
--- rtems/testsuites/samples/ChangeLog:1.187    Tue Feb 22 08:48:25 2011
+++ rtems/testsuites/samples/ChangeLog  Thu May  5 11:45:40 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+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.
+
</font> 2011-02-22        Ralf Corsépius <ralf.corsepius@rtems.org>
 
        * configure.ac: Add AC_CONFIG_HEADER(config.h).

<font color='#006600'>diff -u rtems/testsuites/samples/base_sp/apptask.c:1.15 rtems/testsuites/samples/base_sp/apptask.c:1.16
--- rtems/testsuites/samples/base_sp/apptask.c:1.15     Tue Feb 22 04:54:32 2011
+++ rtems/testsuites/samples/base_sp/apptask.c  Thu May  5 11:45:40 2011
</font><font color='#997700'>@@ -8,7 +8,7 @@
</font>  *
  *  Output parameters:  NONE
  *
<font color='#880000'>- *  COPYRIGHT (c) 1989-1999.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -36,9 +36,12 @@
</font>   rtems_status_code status;
 
   status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid );
<font color='#000088'>+  directive_failed( status, "ident" );
</font> 
<font color='#880000'>-  printf( "Application task was invoked with argument (%" PRIdrtems_task_argument ") "
-          "and has id of 0x%" PRIxrtems_id "\n", argument, tid );
</font><font color='#000088'>+  printf(
+    "Application task was invoked with argument (%" PRIdrtems_task_argument ") "
+    "and has id of 0x%" PRIxrtems_id "\n", argument, tid
+  );
</font> 
   printf( "*** END OF SAMPLE SINGLE PROCESSOR APPLICATION ***\n" );
   exit( 0 );

<font color='#006600'>diff -u rtems/testsuites/samples/base_sp/init.c:1.12 rtems/testsuites/samples/base_sp/init.c:1.13
--- rtems/testsuites/samples/base_sp/init.c:1.12        Tue Feb 22 04:54:32 2011
+++ rtems/testsuites/samples/base_sp/init.c     Thu May  5 11:45:40 2011
</font><font color='#997700'>@@ -10,7 +10,7 @@
</font>  *
  *  Output parameters:  NONE
  *
<font color='#880000'>- *  COPYRIGHT (c) 1989-1999.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -26,6 +26,7 @@
</font> 
 #define CONFIGURE_INIT
 #include "system.h"
<font color='#000088'>+#include "tmacros.h"
</font> #include <stdio.h>
 
 #define ARGUMENT 0
<font color='#997700'>@@ -45,8 +46,11 @@
</font> 
   status = rtems_task_create( task_name, 1, RTEMS_MINIMUM_STACK_SIZE,
              RTEMS_INTERRUPT_LEVEL(0), RTEMS_DEFAULT_ATTRIBUTES, &tid );
<font color='#000088'>+  directive_failed( status, "create" );<span style="background-color: #FF0000"> </span>
</font> 
   status = rtems_task_start( tid, Application_task, ARGUMENT );
<font color='#000088'>+  directive_failed( status, "start" );<span style="background-color: #FF0000"> </span>
</font> 
   status = rtems_task_delete( RTEMS_SELF );
<font color='#000088'>+  directive_failed( status, "delete" );<span style="background-color: #FF0000"> </span>
</font> }

<font color='#006600'>diff -u rtems/testsuites/samples/fileio/init.c:1.31 rtems/testsuites/samples/fileio/init.c:1.32
--- rtems/testsuites/samples/fileio/init.c:1.31 Tue Feb 22 04:54:32 2011
+++ rtems/testsuites/samples/fileio/init.c      Thu May  5 11:45:40 2011
</font><font color='#997700'>@@ -10,7 +10,7 @@
</font>  *
  *  Output parameters:  NONE
  *
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -707,10 +707,13 @@
</font>     RTEMS_DEFAULT_MODES ,
     RTEMS_FLOATING_POINT | RTEMS_DEFAULT_ATTRIBUTES, &Task_id
   );
<font color='#000088'>+  directive_failed( status, "create" );<span style="background-color: #FF0000"> </span>
</font> 
   status = rtems_task_start( Task_id, fileio_task, 1 );
<font color='#000088'>+  directive_failed( status, "start" );<span style="background-color: #FF0000"> </span>
</font> 
   status = rtems_task_delete( RTEMS_SELF );
<font color='#000088'>+  directive_failed( status, "delete" );<span style="background-color: #FF0000"> </span>
</font> }
 
 #if defined(USE_SHELL)

<font color='#006600'>diff -u rtems/testsuites/samples/fileio/system.h:1.16 rtems/testsuites/samples/fileio/system.h:1.17
--- rtems/testsuites/samples/fileio/system.h:1.16       Wed Aug 12 15:50:37 2009
+++ rtems/testsuites/samples/fileio/system.h    Thu May  5 11:45:40 2011
</font><font color='#997700'>@@ -14,6 +14,7 @@
</font>  */
 
 #include <rtems.h>
<font color='#000088'>+#include "tmacros.h"
</font> 
 /* functions */
 
<font color='#997700'>@@ -63,56 +64,4 @@
</font> #define CONFIGURE_UNIFIED_WORK_AREAS
 #include <rtems/confdefs.h>
 
<font color='#880000'>-/*
- *  Handy macros and static inline functions
- */
-
-/*
- *  Macro to hide the ugliness of printing the time.
- */
-
-#define print_time(_s1, _tb, _s2) \
-  do { \
-    printf( "%s%02d:%02d:%02d   %02d/%02d/%04d%s", \
-       _s1, (_tb)->hour, (_tb)->minute, (_tb)->second, \
-       (_tb)->month, (_tb)->day, (_tb)->year, _s2 ); \
-    fflush(stdout); \
-  } while ( 0 )
-
-/*
- *  Macro to print an task name that is composed of ASCII characters.
- *
- */
-
-#define put_name( _name, _crlf ) \
-  do { \
-    uint32_t   c0, c1, c2, c3; \
-    \
-    c0 = ((_name) >> 24) & 0xff; \
-    c1 = ((_name) >> 16) & 0xff; \
-    c2 = ((_name) >> 8) & 0xff; \
-    c3 = (_name) & 0xff; \
-    putchar( (char)c0 ); \
-    if ( c1 ) putchar( (char)c1 ); \
-    if ( c2 ) putchar( (char)c2 ); \
-    if ( c3 ) putchar( (char)c3 ); \
-    if ( (_crlf) ) \
-      putchar( '\n' ); \
-  } while (0)
-
-/*
- *  This allows us to view the "Test_task" instantiations as a set
- *  of numbered tasks by eliminating the number of application
- *  tasks created.
- *
- *  In reality, this is too complex for the purposes of this
- *  example.  It would have been easier to pass a task argument. :)
- *  But it shows how rtems_id's can sometimes be used.
- */
-
-#define task_number( tid ) \
-  ( rtems_object_id_get_index( tid ) - \
-      rtems_configuration_get_rtems_api_configuration()-> \
-        number_of_initialization_tasks )
-
</font> /* end of include file */

<font color='#006600'>diff -u rtems/testsuites/samples/nsecs/init.c:1.14 rtems/testsuites/samples/nsecs/init.c:1.15
--- rtems/testsuites/samples/nsecs/init.c:1.14  Tue Feb 22 04:54:32 2011
+++ rtems/testsuites/samples/nsecs/init.c       Thu May  5 11:45:40 2011
</font><font color='#997700'>@@ -2,7 +2,7 @@
</font>  *  Nanoseconds accuracy timestamp test
  */
 
<font color='#880000'>-/*  COPYRIGHT (c) 1989-2007.
</font><font color='#000088'>+/*  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -69,6 +69,7 @@
</font>   time.ticks  = 0;
 
   status = rtems_clock_set( &time );
<font color='#000088'>+  directive_failed( status, "clock set" );<span style="background-color: #FF0000"> </span>
</font> 
   /*
    *  Iterate 10 times showing difference in TOD
<font color='#997700'>@@ -91,7 +92,7 @@
</font>       my_ctime(stop.tv_sec), stop.tv_nsec
     );
 
<font color='#880000'>-   printf( " --> %" PRItime_t ":%ld\n", diff.tv_sec, diff.tv_nsec );
</font><font color='#000088'>+    printf( " --> %" PRItime_t ":%ld\n", diff.tv_sec, diff.tv_nsec );
</font>   }
 
   /*

<font color='#006600'>diff -u rtems/testsuites/samples/ticker/init.c:1.14 rtems/testsuites/samples/ticker/init.c:1.15
--- rtems/testsuites/samples/ticker/init.c:1.14 Tue Feb 22 04:54:32 2011
+++ rtems/testsuites/samples/ticker/init.c      Thu May  5 11:45:40 2011
</font><font color='#997700'>@@ -10,7 +10,7 @@
</font>  *
  *  Output parameters:  NONE
  *
<font color='#880000'>- *  COPYRIGHT (c) 1989-1999.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -52,6 +52,7 @@
</font>   time.ticks  = 0;
 
   status = rtems_clock_set( &time );
<font color='#000088'>+  directive_failed( status, "clock get" );
</font> 
   Task_name[ 1 ] = rtems_build_name( 'T', 'A', '1', ' ' );
   Task_name[ 2 ] = rtems_build_name( 'T', 'A', '2', ' ' );
<font color='#997700'>@@ -61,18 +62,29 @@
</font>     Task_name[ 1 ], 1, RTEMS_MINIMUM_STACK_SIZE * 2, RTEMS_DEFAULT_MODES,
     RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 1 ]
   );
<font color='#000088'>+  directive_failed( status, "create 1" );<span style="background-color: #FF0000"> </span>
+
</font>   status = rtems_task_create(
     Task_name[ 2 ], 1, RTEMS_MINIMUM_STACK_SIZE * 2, RTEMS_DEFAULT_MODES,
     RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 2 ]
   );
<font color='#000088'>+  directive_failed( status, "create 2" );<span style="background-color: #FF0000"> </span>
+
</font>   status = rtems_task_create(
     Task_name[ 3 ], 1, RTEMS_MINIMUM_STACK_SIZE * 2, RTEMS_DEFAULT_MODES,
     RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 3 ]
   );
<font color='#000088'>+  directive_failed( status, "create 3" );<span style="background-color: #FF0000"> </span>
</font> 
   status = rtems_task_start( Task_id[ 1 ], Test_task, 1 );
<font color='#000088'>+  directive_failed( status, "start 1" );<span style="background-color: #FF0000"> </span>
+
</font>   status = rtems_task_start( Task_id[ 2 ], Test_task, 2 );
<font color='#000088'>+  directive_failed( status, "start 2" );<span style="background-color: #FF0000"> </span>
+
</font>   status = rtems_task_start( Task_id[ 3 ], Test_task, 3 );
<font color='#000088'>+  directive_failed( status, "start 3" );<span style="background-color: #FF0000"> </span>
</font> 
   status = rtems_task_delete( RTEMS_SELF );
<font color='#000088'>+  directive_failed( status, "delete" );<span style="background-color: #FF0000"> </span>
</font> }

<font color='#006600'>diff -u rtems/testsuites/samples/ticker/system.h:1.23 rtems/testsuites/samples/ticker/system.h:1.24
--- rtems/testsuites/samples/ticker/system.h:1.23       Wed Aug 12 15:50:38 2009
+++ rtems/testsuites/samples/ticker/system.h    Thu May  5 11:45:40 2011
</font><font color='#997700'>@@ -16,6 +16,7 @@
</font> #include <rtems.h>
 #include <inttypes.h>
 #include "../../support/include/buffer_test_io.h"
<font color='#000088'>+#include "tmacros.h"
</font> 
 /* functions */
 
<font color='#997700'>@@ -53,42 +54,6 @@
</font> #include <rtems/confdefs.h>
 
 /*
<font color='#880000'>- *  Handy macros and static inline functions
- */
-
-/*
- *  Macro to hide the ugliness of printing the time.
- */
-
-#define print_time(_s1, _tb, _s2) \
-  do { \
-    printf( "%s%02" PRId32 ":%02" PRId32 ":%02" PRId32 "   %02" PRId32 "/%02" PRId32 "/%04" PRId32 "%s", \
-       _s1, (_tb)->hour, (_tb)->minute, (_tb)->second, \
-       (_tb)->month, (_tb)->day, (_tb)->year, _s2 ); \
-  } while ( 0 )
-
-/*
- *  Macro to print an task name that is composed of ASCII characters.
- *
- */
-
-#define put_name( _name, _crlf ) \
-  do { \
-    uint32_t   c0, c1, c2, c3; \
-    \
-    c0 = ((_name) >> 24) & 0xff; \
-    c1 = ((_name) >> 16) & 0xff; \
-    c2 = ((_name) >> 8) & 0xff; \
-    c3 = (_name) & 0xff; \
-    putchar( (char)c0 ); \
-    if ( c1 ) putchar( (char)c1 ); \
-    if ( c2 ) putchar( (char)c2 ); \
-    if ( c3 ) putchar( (char)c3 ); \
-    if ( (_crlf) ) \
-      putchar( '\n' ); \
-  } while (0)
-
-/*
</font>  *  This allows us to view the "Test_task" instantiations as a set
  *  of numbered tasks by eliminating the number of application
  *  tasks created.

<font color='#006600'>diff -u rtems/testsuites/samples/ticker/tasks.c:1.15 rtems/testsuites/samples/ticker/tasks.c:1.16
--- rtems/testsuites/samples/ticker/tasks.c:1.15        Tue Feb 22 04:54:32 2011
+++ rtems/testsuites/samples/ticker/tasks.c     Thu May  5 11:45:40 2011
</font><font color='#997700'>@@ -29,10 +29,12 @@
</font> {
   rtems_id          tid;
   rtems_time_of_day time;
<font color='#880000'>-  uint32_t    task_index;
</font><font color='#000088'>+  uint32_t          task_index;
</font>   rtems_status_code status;
 
   status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid );
<font color='#000088'>+  directive_failed( status, "task ident" );<span style="background-color: #FF0000"> </span>
+
</font>   task_index = task_number( tid );
   for ( ; ; ) {
     status = rtems_clock_get_tod( &time );
<font color='#997700'>@@ -43,6 +45,8 @@
</font>     put_name( Task_name[ task_index ], FALSE );
     print_time( " - rtems_clock_get_tod - ", &time, "\n" );
     status = rtems_task_wake_after(
<font color='#880000'>-      task_index * 5 * rtems_clock_get_ticks_per_second() );
</font><font color='#000088'>+      task_index * 5 * rtems_clock_get_ticks_per_second()
+    );
+    directive_failed( status, "wake after" );<span style="background-color: #FF0000"> </span>
</font>   }
 }
</pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>

        * devnullfatal01/testcase.h, malloc02/init.c, malloc04/init.c,
        malloctest/init.c, termios03/termios_testdriver_polled.c,
        termios04/termios_testdriver_intr.c: Remove warnings.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/ChangeLog.diff?r1=text&tr1=1.264&r2=text&tr2=1.265&diff_format=h">M</a></td><td width='1%'>1.265</td><td width='100%'>testsuites/libtests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/devnullfatal01/testcase.h.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>testsuites/libtests/devnullfatal01/testcase.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/malloc02/init.c.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>testsuites/libtests/malloc02/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/malloc04/init.c.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>testsuites/libtests/malloc04/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/malloctest/init.c.diff?r1=text&tr1=1.45&r2=text&tr2=1.46&diff_format=h">M</a></td><td width='1%'>1.46</td><td width='100%'>testsuites/libtests/malloctest/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/termios03/termios_testdriver_polled.c.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>testsuites/libtests/termios03/termios_testdriver_polled.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/termios04/termios_testdriver_intr.c.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>testsuites/libtests/termios04/termios_testdriver_intr.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/libtests/ChangeLog:1.264 rtems/testsuites/libtests/ChangeLog:1.265
--- rtems/testsuites/libtests/ChangeLog:1.264   Tue Apr  5 04:19:53 2011
+++ rtems/testsuites/libtests/ChangeLog Thu May  5 11:45:47 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-05-05    Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * devnullfatal01/testcase.h, malloc02/init.c, malloc04/init.c,
+       malloctest/init.c, termios03/termios_testdriver_polled.c,
+       termios04/termios_testdriver_intr.c: Remove warnings.
+
</font> 2011-04-05        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
        * tar01/init.c: Fixed integer types.

<font color='#006600'>diff -u rtems/testsuites/libtests/devnullfatal01/testcase.h:1.1 rtems/testsuites/libtests/devnullfatal01/testcase.h:1.2
--- rtems/testsuites/libtests/devnullfatal01/testcase.h:1.1     Tue Jul 27 08:57:17 2010
+++ rtems/testsuites/libtests/devnullfatal01/testcase.h Thu May  5 11:45:47 2011
</font><font color='#997700'>@@ -16,12 +16,14 @@
</font> #define FATAL_ERROR_EXPECTED_ERROR       RTEMS_TOO_MANY
 
 #include <rtems/devnull.h>
<font color='#000088'>+#include "tmacros.h"
</font> 
 void force_error()
 {
   int status;
 
   status = rtems_io_register_name( "/dev/null", 0, 0 );
<font color='#000088'>+  directive_failed( status, "io register" );
</font> 
   status = null_initialize( 0, 0, NULL );
 

<font color='#006600'>diff -u rtems/testsuites/libtests/malloc02/init.c:1.3 rtems/testsuites/libtests/malloc02/init.c:1.4
--- rtems/testsuites/libtests/malloc02/init.c:1.3       Tue Feb 22 01:34:07 2011
+++ rtems/testsuites/libtests/malloc02/init.c   Thu May  5 11:45:47 2011
</font><font color='#997700'>@@ -69,6 +69,7 @@
</font>   puts( "Free from ISR successfully processed" );
   puts( "Now malloc'ing more memory to process the free" );
   pointer2 = malloc(20);
<font color='#000088'>+  rtems_test_assert( pointer2 );
</font> 
   puts( "*** END OF TEST MALLOC 02 ***" );
   rtems_test_exit( 0 );

<font color='#006600'>diff -u rtems/testsuites/libtests/malloc04/init.c:1.4 rtems/testsuites/libtests/malloc04/init.c:1.5
--- rtems/testsuites/libtests/malloc04/init.c:1.4       Tue Feb 22 01:34:07 2011
+++ rtems/testsuites/libtests/malloc04/init.c   Thu May  5 11:45:47 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /*
<font color='#880000'>- *  COPYRIGHT (c) 1989-2010.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -111,15 +111,23 @@
</font>   sbrk_count = 0;
   RTEMS_Malloc_Initialize( NULL, 0, 64 );
   p1 = malloc(64);
<font color='#000088'>+  rtems_test_assert( p1 );
+
</font>   p2 = malloc(64);
<font color='#000088'>+  rtems_test_assert( p2 );
+
</font>   p3 = malloc(48);
<font color='#000088'>+  rtems_test_assert( p3 );
+
</font>   p4 = malloc(48);
<font color='#000088'>+  rtems_test_assert( p4 );
</font>   
   puts( "Initialize heap with no memory (sbrk aligned)" );
   offset     = 0;
   sbrk_count = 0;
   RTEMS_Malloc_Initialize( NULL, 0, 64 );
   p1 = malloc(64);
<font color='#000088'>+  rtems_test_assert( p1 );
</font>   
   puts( "Set sbrk amount in heap to 0" );
   offset     = 0;
<font color='#997700'>@@ -127,6 +135,7 @@
</font>   RTEMS_Malloc_Initialize( NULL, 0, 64 );
   RTEMS_Malloc_Sbrk_amount = 0;
   p4 = malloc(48);
<font color='#000088'>+  rtems_test_assert( p4 );
</font> 
   /* Restore information on real heap */
   malloc_set_heap_pointer( TempHeap );

<font color='#006600'>diff -u rtems/testsuites/libtests/malloctest/init.c:1.45 rtems/testsuites/libtests/malloctest/init.c:1.46
--- rtems/testsuites/libtests/malloctest/init.c:1.45    Wed Mar  9 09:39:58 2011
+++ rtems/testsuites/libtests/malloctest/init.c Thu May  5 11:45:47 2011
</font><font color='#997700'>@@ -11,7 +11,7 @@
</font>  *
  *  Output parameters:  NONE
  *
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  Copyright (c) 2009, 2010 embedded brains GmbH.
<font color='#997700'>@@ -420,15 +420,11 @@
</font>   uintptr_t previous_last_block_begin = 0;
   uintptr_t previous_last_page_begin = 0;
 
<font color='#880000'>-  uintptr_t first_block_begin = 0;
-
</font>   uintptr_t last_block_begin = 0;
   uintptr_t last_alloc_begin = 0;
 
   test_heap_init( TEST_DEFAULT_PAGE_SIZE );
 
<font color='#880000'>-  first_block_begin = (uintptr_t) TestHeap.first_block;
-
</font>   last_block_begin = (uintptr_t) TestHeap.last_block;
   last_alloc_begin = _Heap_Alloc_area_of_block( TestHeap.last_block );
 
<font color='#997700'>@@ -467,6 +463,8 @@
</font>   alloc_size = test_page_size();
   p1 = test_init_and_alloc_simple( alloc_size, alignment, boundary );
   p2 = test_alloc_simple( alloc_size, alignment, boundary );
<font color='#000088'>+  rtems_test_assert( p2 );
+
</font>   test_free( p1 );
 
   alloc_size = 2 * alloc_size;
<font color='#997700'>@@ -890,7 +888,11 @@
</font>   puts( "\t\tlet the next block be used alredy and try to get a size bigger than the actual block" );
   test_heap_init( TEST_DEFAULT_PAGE_SIZE );
   p1 = test_alloc_one_page();
<font color='#000088'>+  rtems_test_assert( p1 );
+
</font>   p2 = test_alloc_one_page();
<font color='#000088'>+  rtems_test_assert( p2 );
+
</font>   new_alloc_size = 3 * TEST_DEFAULT_PAGE_SIZE / 2;
   test_simple_resize_block( p1, new_alloc_size, HEAP_RESIZE_UNSATISFIED );
 
<font color='#997700'>@@ -903,8 +905,14 @@
</font>   puts( "\t\tlet the block after the next be used and try to allocate more then one pagesize more" );
   test_heap_init( TEST_DEFAULT_PAGE_SIZE );
   p1 = test_alloc_one_page();
<font color='#000088'>+  rtems_test_assert( p1 );
+
</font>   p2 = test_alloc_one_page();
<font color='#000088'>+  rtems_test_assert( p2 );
+
</font>   p3 = test_alloc_one_page();
<font color='#000088'>+  rtems_test_assert( p3 );
+
</font>   _Heap_Free( &TestHeap, p2 );
   new_alloc_size = 5 * TEST_DEFAULT_PAGE_SIZE / 2;
   test_simple_resize_block( p1, new_alloc_size, HEAP_RESIZE_UNSATISFIED );

<font color='#006600'>diff -u rtems/testsuites/libtests/termios03/termios_testdriver_polled.c:1.3 rtems/testsuites/libtests/termios03/termios_testdriver_polled.c:1.4
--- rtems/testsuites/libtests/termios03/termios_testdriver_polled.c:1.3 Tue Feb 22 01:34:08 2011
+++ rtems/testsuites/libtests/termios03/termios_testdriver_polled.c     Thu May  5 11:45:47 2011
</font><font color='#997700'>@@ -1,7 +1,7 @@
</font> /*
  *  This file contains a test fixture termios device driver
  *
<font color='#880000'>- *  COPYRIGHT (c) 1989-2010.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -134,6 +134,7 @@
</font>   }
 
   sc = rtems_termios_open (major, minor, arg, &Callbacks);
<font color='#000088'>+  directive_failed( sc, "termios open" );<span style="background-color: #FF0000"> </span>
</font> 
   return RTEMS_SUCCESSFUL;
 }

<font color='#006600'>diff -u rtems/testsuites/libtests/termios04/termios_testdriver_intr.c:1.3 rtems/testsuites/libtests/termios04/termios_testdriver_intr.c:1.4
--- rtems/testsuites/libtests/termios04/termios_testdriver_intr.c:1.3   Tue Feb 22 01:34:08 2011
+++ rtems/testsuites/libtests/termios04/termios_testdriver_intr.c       Thu May  5 11:45:47 2011
</font><font color='#997700'>@@ -1,7 +1,7 @@
</font> /*
  *  This file contains a test fixture termios device driver
  *
<font color='#880000'>- *  COPYRIGHT (c) 1989-2010.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -205,6 +205,7 @@
</font>   }
 
   sc = rtems_termios_open (major, minor, arg, &Callbacks);
<font color='#000088'>+  directive_failed( sc, "termios open" );<span style="background-color: #FF0000"> </span>
</font> 
   Ttyp = args->iop->data1;   /* Keep cookie returned by termios_open */
 
</pre>
<p> </p>
<a name='cs3'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>

        * psx04/task3.c, psxfile01/test.c, psxhdrs/Makefile.am,
        psxmsgq01/init.c, psxreaddir/test.c, psxsignal01/init.c,
        psxtimes01/init.c, psxualarm/init.c: Remove warnings.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/ChangeLog.diff?r1=text&tr1=1.337&r2=text&tr2=1.338&diff_format=h">M</a></td><td width='1%'>1.338</td><td width='100%'>testsuites/psxtests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psx04/task3.c.diff?r1=text&tr1=1.12&r2=text&tr2=1.13&diff_format=h">M</a></td><td width='1%'>1.13</td><td width='100%'>testsuites/psxtests/psx04/task3.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxfile01/test.c.diff?r1=text&tr1=1.31&r2=text&tr2=1.32&diff_format=h">M</a></td><td width='1%'>1.32</td><td width='100%'>testsuites/psxtests/psxfile01/test.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/Makefile.am.diff?r1=text&tr1=1.17&r2=text&tr2=1.18&diff_format=h">M</a></td><td width='1%'>1.18</td><td width='100%'>testsuites/psxtests/psxhdrs/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxmsgq01/init.c.diff?r1=text&tr1=1.25&r2=text&tr2=1.26&diff_format=h">M</a></td><td width='1%'>1.26</td><td width='100%'>testsuites/psxtests/psxmsgq01/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxreaddir/test.c.diff?r1=text&tr1=1.20&r2=text&tr2=1.21&diff_format=h">M</a></td><td width='1%'>1.21</td><td width='100%'>testsuites/psxtests/psxreaddir/test.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxsignal01/init.c.diff?r1=text&tr1=1.10&r2=text&tr2=1.11&diff_format=h">M</a></td><td width='1%'>1.11</td><td width='100%'>testsuites/psxtests/psxsignal01/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxtimes01/init.c.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>testsuites/psxtests/psxtimes01/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxualarm/init.c.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>testsuites/psxtests/psxualarm/init.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/psxtests/ChangeLog:1.337 rtems/testsuites/psxtests/ChangeLog:1.338
--- rtems/testsuites/psxtests/ChangeLog:1.337   Fri Apr 15 09:21:19 2011
+++ rtems/testsuites/psxtests/ChangeLog Thu May  5 11:45:51 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-05-05    Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * psx04/task3.c, psxfile01/test.c, psxhdrs/Makefile.am,
+       psxmsgq01/init.c, psxreaddir/test.c, psxsignal01/init.c,
+       psxtimes01/init.c, psxualarm/init.c: Remove warnings.
+
</font> 2011-04-15        Sebastian Huber <Sebastian.Huber@embedded-brains.de>
 
        * psxstat/test.c: Fixed integer type.  Check status codes.

<font color='#006600'>diff -u rtems/testsuites/psxtests/psx04/task3.c:1.12 rtems/testsuites/psxtests/psx04/task3.c:1.13
--- rtems/testsuites/psxtests/psx04/task3.c:1.12        Tue Feb 22 03:47:31 2011
+++ rtems/testsuites/psxtests/psx04/task3.c     Thu May  5 11:45:52 2011
</font><font color='#997700'>@@ -7,7 +7,7 @@
</font>  *
  *  Output parameters:  NONE
  *
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -112,6 +112,7 @@
</font>   printf( "Task_3: sleep so the Init task can reguest a signal\n" );
   remaining = sleep( 1 );
   rtems_test_assert( !status );
<font color='#000088'>+  rtems_test_assert( remaining == 0 );
</font> 
      /* end of task 3 */
   printf( "Task_3: exit\n" );

<font color='#006600'>diff -u rtems/testsuites/psxtests/psxfile01/test.c:1.31 rtems/testsuites/psxtests/psxfile01/test.c:1.32
--- rtems/testsuites/psxtests/psxfile01/test.c:1.31     Tue Feb 22 03:47:32 2011
+++ rtems/testsuites/psxtests/psxfile01/test.c  Thu May  5 11:45:52 2011
</font><font color='#997700'>@@ -10,7 +10,7 @@
</font>  *    /dev
  *    /dev/XXX   [where XXX includes at least console]
  *
<font color='#880000'>- *  COPYRIGHT (c) 1989-2010.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -162,6 +162,7 @@
</font> 
   build_time( &time, 12, 31, 1988, 9, 0, 0, 0 );
   rtems_status = rtems_clock_set( &time );
<font color='#000088'>+  directive_failed( rtems_status, "clock set" );
</font> 
   /*
    *  Dump an empty file system
<font color='#997700'>@@ -656,6 +657,7 @@
</font>   rtems_test_assert( status == -1);
 
   rtems_status = rtems_io_register_name( "/dev/console", 0, 0 );
<font color='#000088'>+  directive_failed( rtems_status, "io register" );
</font> 
   test_case_reopen_append();
 

<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/Makefile.am:1.17 rtems/testsuites/psxtests/psxhdrs/Makefile.am:1.18
--- rtems/testsuites/psxtests/psxhdrs/Makefile.am:1.17  Mon Oct  4 10:53:45 2010
+++ rtems/testsuites/psxtests/psxhdrs/Makefile.am       Thu May  5 11:45:52 2011
</font><font color='#997700'>@@ -30,4 +30,5 @@
</font> include $(top_srcdir)/../automake/compile.am
 include $(top_srcdir)/../automake/leaf.am
 
<font color='#000088'>+AM_CPPFLAGS += -Wno-unused-but-set-variable
</font> include $(top_srcdir)/../automake/local.am

<font color='#006600'>diff -u rtems/testsuites/psxtests/psxmsgq01/init.c:1.25 rtems/testsuites/psxtests/psxmsgq01/init.c:1.26
--- rtems/testsuites/psxtests/psxmsgq01/init.c:1.25     Tue Feb 22 03:47:35 2011
+++ rtems/testsuites/psxtests/psxmsgq01/init.c  Thu May  5 11:45:52 2011
</font><font color='#997700'>@@ -1205,6 +1205,7 @@
</font>   timeout.tv_nsec = tv1.tv_usec * 1000;
 
   status = mq_timedsend( Test_q[que].mq, msg, len , 0, &timeout );
<font color='#000088'>+  rtems_test_assert( status == 0 );
</font> 
   gettimeofday( &tv2, &tz2 );
   tv3.tv_sec  = tv2.tv_sec - tv1.tv_sec;

<font color='#006600'>diff -u rtems/testsuites/psxtests/psxreaddir/test.c:1.20 rtems/testsuites/psxtests/psxreaddir/test.c:1.21
--- rtems/testsuites/psxtests/psxreaddir/test.c:1.20    Tue Feb 22 03:47:35 2011
+++ rtems/testsuites/psxtests/psxreaddir/test.c Thu May  5 11:45:52 2011
</font><font color='#997700'>@@ -15,7 +15,7 @@
</font>  *  implementation of this appears to seek to the ((off/DIRENT_SIZE) + 1)
  *  record where DIRENT_SIZE seems to be 12 bytes.
  *
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -79,8 +79,10 @@
</font> 
   the_dir = opendir( path );
   rtems_test_assert( the_dir );
<font color='#000088'>+
</font>   printdir( the_dir );
   status = closedir( the_dir );
<font color='#000088'>+  rtems_test_assert( status );
</font> }
 
 char *many_files[] = {
<font color='#997700'>@@ -145,13 +147,13 @@
</font>         "END"
 };
 
<font color='#880000'>-int select1 ( struct dirent *entry )
</font><font color='#000088'>+int select1 ( const struct dirent *entry )
</font> {
    printf("SCANDIR SELECT1 accepts  nodename: %s\n", entry->d_name );
    return 1;
 }
 
<font color='#880000'>-int select2 ( struct dirent *entry )
</font><font color='#000088'>+int select2 ( const struct dirent *entry )
</font> {
    if( strcmp( entry->d_name, "y") == 0 ) {
       printf("SCANDIR SELECT accepted nodename: %s\n", entry->d_name );
<font color='#997700'>@@ -273,6 +275,7 @@
</font>   directory_not = opendir( "/many" );
   printdir ( directory_not );
   d_not = readdir( directory_not );
<font color='#000088'>+  rtems_test_assert( d_not == 0 );
</font> 
   printf("open /b/myfile\n");
   fd = open ("/b/my_file", O_CREAT, S_IRWXU);

<font color='#006600'>diff -u rtems/testsuites/psxtests/psxsignal01/init.c:1.10 rtems/testsuites/psxtests/psxsignal01/init.c:1.11
--- rtems/testsuites/psxtests/psxsignal01/init.c:1.10   Tue Feb 22 03:47:35 2011
+++ rtems/testsuites/psxtests/psxsignal01/init.c        Thu May  5 11:45:52 2011
</font><font color='#997700'>@@ -77,7 +77,9 @@
</font> )
 {
   int  status;
<font color='#000088'>+
</font>   status = pthread_kill( pthread_self(), SIGUSR1 );
<font color='#000088'>+  rtems_test_assert( status == 0 );
</font> }
 
 

<font color='#006600'>diff -u rtems/testsuites/psxtests/psxtimes01/init.c:1.3 rtems/testsuites/psxtests/psxtimes01/init.c:1.4
--- rtems/testsuites/psxtests/psxtimes01/init.c:1.3     Tue Feb 22 03:47:36 2011
+++ rtems/testsuites/psxtests/psxtimes01/init.c Thu May  5 11:45:52 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /*
<font color='#880000'>- *  COPYRIGHT (c) 1989-2010.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -57,6 +57,7 @@
</font>   puts( "_times( &start_tm ) -- OK" );
   now = _times( &start_tm );
   rtems_test_assert( start != 0 );
<font color='#000088'>+  rtems_test_assert( now != 0 );
</font>   
   rtems_test_spin_for_ticks(5);
 

<font color='#006600'>diff -u rtems/testsuites/psxtests/psxualarm/init.c:1.6 rtems/testsuites/psxtests/psxualarm/init.c:1.7
--- rtems/testsuites/psxtests/psxualarm/init.c:1.6      Tue Feb 22 03:47:36 2011
+++ rtems/testsuites/psxtests/psxualarm/init.c  Thu May  5 11:45:52 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /*
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -45,7 +45,9 @@
</font> )
 {
   int               status;
<font color='#000088'>+
</font>   status = kill( getpid(), SIGUSR1 );
<font color='#000088'>+  rtems_test_assert( status == 0 );
</font> }
 
 
<font color='#997700'>@@ -79,7 +81,10 @@
</font>   puts( "Init: ualarm in 1 us" );
   sleep(3);
   result = ualarm(1,0);
<font color='#000088'>+  rtems_test_assert( result == 0 );
+<span style="background-color: #FF0000">  </span>
</font>   status = sleep(10);
<font color='#000088'>+  rtems_test_assert( status == 0 );
</font> 
   /* unblock Signal and see if it happened */
   status = sigemptyset( &mask );
</pre>
<p> </p>
<a name='cs4'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>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.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/ChangeLog.diff?r1=text&tr1=1.447&r2=text&tr2=1.448&diff_format=h">M</a></td><td width='1%'>1.448</td><td width='100%'>testsuites/sptests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp09/screen12.c.diff?r1=text&tr1=1.24&r2=text&tr2=1.25&diff_format=h">M</a></td><td width='1%'>1.25</td><td width='100%'>testsuites/sptests/sp09/screen12.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp09/sp09.scn.diff?r1=text&tr1=1.27&r2=text&tr2=1.28&diff_format=h">M</a></td><td width='1%'>1.28</td><td width='100%'>testsuites/sptests/sp09/sp09.scn</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp21/Makefile.am.diff?r1=text&tr1=1.25&r2=text&tr2=1.26&diff_format=h">M</a></td><td width='1%'>1.26</td><td width='100%'>testsuites/sptests/sp21/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp35/priinv.c.diff?r1=text&tr1=1.17&r2=text&tr2=1.18&diff_format=h">M</a></td><td width='1%'>1.18</td><td width='100%'>testsuites/sptests/sp35/priinv.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp39/init.c.diff?r1=text&tr1=1.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</td><td width='100%'>testsuites/sptests/sp39/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp50/init.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>testsuites/sptests/sp50/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp57/init.c.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>testsuites/sptests/sp57/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp72/init.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>testsuites/sptests/sp72/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp73/init.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>testsuites/sptests/sp73/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/spintrcritical01/init.c.diff?r1=text&tr1=1.6&r2=text&tr2=1.7&diff_format=h">M</a></td><td width='1%'>1.7</td><td width='100%'>testsuites/sptests/spintrcritical01/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/spprivenv01/init.c.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>testsuites/sptests/spprivenv01/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/spsimplesched01/init.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>testsuites/sptests/spsimplesched01/init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/spsimplesched02/init.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>testsuites/sptests/spsimplesched02/init.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/sptests/ChangeLog:1.447 rtems/testsuites/sptests/ChangeLog:1.448
--- rtems/testsuites/sptests/ChangeLog:1.447    Fri Apr 15 08:21:09 2011
+++ rtems/testsuites/sptests/ChangeLog  Thu May  5 11:45:57 2011
</font><font color='#997700'>@@ -1,3 +1,10 @@
</font><font color='#000088'>+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.
+
</font> 2011-04-15        Sebastian Huber <sebastian.huber@embedded-brains.de>
 
        * sp09/screen02.c: Use integer value that fits into one character.

<font color='#006600'>diff -u rtems/testsuites/sptests/sp09/screen12.c:1.24 rtems/testsuites/sptests/sp09/screen12.c:1.25
--- rtems/testsuites/sptests/sp09/screen12.c:1.24       Tue Feb 22 01:36:58 2011
+++ rtems/testsuites/sptests/sp09/screen12.c    Thu May  5 11:45:57 2011
</font><font color='#997700'>@@ -6,7 +6,7 @@
</font>  *
  *  Output parameters:  NONE
  *
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -27,9 +27,6 @@
</font>   void                   *segment_address_1;
   void                   *segment_address_2;
   void                   *segment_address_3;
<font color='#880000'>-  uint32_t                good_back_flag;
-  uint32_t                good_front_flag;
-  uint32_t                offset;
</font>   uintptr_t               segment_size;
   rtems_status_code       status;
   Heap_Information_block  the_info;
<font color='#997700'>@@ -400,48 +397,6 @@
</font>   puts( "TA1 - rtems_debug_disable - RTEMS_DEBUG_REGION" );
   rtems_debug_disable( RTEMS_DEBUG_REGION );
 
<font color='#880000'>-#if 0
-
-  offset = (segment_address_1 - (void *)Region_good_area) / 4;
-
-/* bad FRONT_FLAG error */
-
-  good_front_flag = Region_good_area[ offset - 1 ];
-  Region_good_area[ offset - 1 ] = good_front_flag + 2;
-
-  status = rtems_region_return_segment( Region_id[ 1 ], segment_address_1 );
-  fatal_directive_status(
-    status,
-    RTEMS_INVALID_ADDRESS,
-    "rtems_region_return_segment with back_flag != front_flag"
-  );
-  puts( "TA1 - rtems_region_return_segment - RTEMS_INVALID_ADDRESS" );
-
-  Region_good_area[ offset - 1 ] = good_front_flag;
-
-/* bad FRONT_FLAG error */
-
-  good_back_flag = Region_good_area[ offset - 2 ];
-  Region_good_area[ offset - 2 ] = 1024;
-
-  status = rtems_region_return_segment( Region_id[ 1 ], segment_address_1 );
-  fatal_directive_status(
-    status,
-    RTEMS_INVALID_ADDRESS,
-    "rtems_region_return_segment with back_flag != front_flag"
-  );
-  puts( "TA1 - rtems_region_return_segment - RTEMS_INVALID_ADDRESS" );
-
-  Region_good_area[ offset - 2 ] = good_back_flag;
-
-#else
-  offset = 0;
-  good_front_flag = 0;
-  good_back_flag = 0;
-  puts( "TA1 - rtems_region_return_segment - RTEMS_INVALID_ADDRESS - SKIPPED" );
-  puts( "TA1 - rtems_region_return_segment - RTEMS_INVALID_ADDRESS - SKIPPED" );
-#endif
-
</font>   puts( "TA1 - rtems_debug_enable - RTEMS_DEBUG_REGION" );
   rtems_debug_enable( RTEMS_DEBUG_REGION );
 

<font color='#006600'>diff -u rtems/testsuites/sptests/sp09/sp09.scn:1.27 rtems/testsuites/sptests/sp09/sp09.scn:1.28
--- rtems/testsuites/sptests/sp09/sp09.scn:1.27 Fri Mar 11 14:26:59 2011
+++ rtems/testsuites/sptests/sp09/sp09.scn      Thu May  5 11:45:57 2011
</font><font color='#997700'>@@ -273,8 +273,6 @@
</font> TA1 - rtems_region_return_segment - RTEMS_INVALID_ID
 TA1 - rtems_region_return_segment - RTEMS_INVALID_ADDRESS
 TA1 - rtems_debug_disable - RTEMS_DEBUG_REGION
<font color='#880000'>-TA1 - rtems_region_return_segment - RTEMS_INVALID_ADDRESS - SKIPPED
-TA1 - rtems_region_return_segment - RTEMS_INVALID_ADDRESS - SKIPPED
</font> TA1 - rtems_debug_enable - RTEMS_DEBUG_REGION
 TA1 - rtems_region_extend - RTEMS_INVALID_ID
 TA1 - rtems_region_extend - within heap - RTEMS_INVALID_ADDRESS

<font color='#006600'>diff -u rtems/testsuites/sptests/sp21/Makefile.am:1.25 rtems/testsuites/sptests/sp21/Makefile.am:1.26
--- rtems/testsuites/sptests/sp21/Makefile.am:1.25      Tue Jul  6 17:27:23 2010
+++ rtems/testsuites/sptests/sp21/Makefile.am   Thu May  5 11:45:57 2011
</font><font color='#997700'>@@ -13,6 +13,7 @@
</font> include $(top_srcdir)/../automake/leaf.am
 
 AM_CPPFLAGS += -I$(top_srcdir)/../support/include
<font color='#000088'>+AM_CPPFLAGS += -Wno-deprecated-declarations
</font> 
 LINK_OBJS = $(sp21_OBJECTS) $(sp21_LDADD)
 LINK_LIBS = $(sp21_LDLIBS)

<font color='#006600'>diff -u rtems/testsuites/sptests/sp35/priinv.c:1.17 rtems/testsuites/sptests/sp35/priinv.c:1.18
--- rtems/testsuites/sptests/sp35/priinv.c:1.17 Tue Feb 22 01:37:00 2011
+++ rtems/testsuites/sptests/sp35/priinv.c      Thu May  5 11:45:57 2011
</font><font color='#997700'>@@ -243,17 +243,20 @@
</font> {
   rtems_status_code     Sts;
 
<font color='#880000'>-  rtems_task_priority   EnterPrio;   /* Statistics log */
</font><font color='#000088'>+#if defined(TEST_PRINT_STATISTICS)
</font>   rtems_task_priority   AccessPrio;  /*      :         */
<font color='#880000'>-  rtems_task_priority   LeavePrio;   /*      :         */
-  uint32_t              EnterCnt;    /*      :         */
</font>   uint32_t              AccessCnt;   /*      :         */
<font color='#000088'>+  rtems_task_priority   EnterPrio;   /* Statistics log */
+  uint32_t              EnterCnt;    /*      :         */
+  rtems_task_priority   LeavePrio;   /*      :         */
</font>   uint32_t              LeaveCnt;    /*      :         */
<font color='#000088'>+#endif
</font> 
<font color='#000088'>+#if defined(TEST_PRINT_STATISTICS)
</font>   /* Store information about the current situation */
   EnterPrio = _Thread_Executing->current_priority;
   EnterCnt  = _Thread_Executing->resource_count;
<font color='#880000'>-
</font><font color='#000088'>+#endif
</font> 
   printf("  AccessLocalHw called by %s\n", CallerName());
 
<font color='#997700'>@@ -269,18 +272,20 @@
</font>   Sts = rtems_semaphore_obtain(LocalHwSync_S, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
   directive_failed( Sts, "rtems_semaphore_obtain(LocalHwAccess_R...)" );
 
<font color='#000088'>+#if defined(TEST_PRINT_STATISTICS)
</font>   /* Store information about the current situation */
   AccessPrio = _Thread_Executing->current_priority;
   AccessCnt  = _Thread_Executing->resource_count;
<font color='#000088'>+#endif
</font> 
   Sts = rtems_semaphore_release(LocalHwAccess_R);
   directive_failed( Sts, "rtems_semaphore_release(LocalHwAccess_R)" );
 
<font color='#000088'>+#if defined(TEST_PRINT_STATISTICS)
</font>   /* Store information about the current situation */
   LeavePrio = _Thread_Executing->current_priority;
   LeaveCnt  = _Thread_Executing->resource_count;
 
<font color='#880000'>-#if defined(TEST_PRINT_STATISTICS)
</font>   printf(
     "  AccessLocalHw from %s statistics:\n"
     " - Prio: %d -> %d -> %d\n - Cnt: %d -> %d -> %d\n",
<font color='#997700'>@@ -304,17 +309,20 @@
</font> {
   rtems_status_code     Sts;
 
<font color='#000088'>+#if defined(TEST_PRINT_STATISTICS)
</font>   rtems_task_priority   EnterPrio;   /* Statistics log */
   rtems_task_priority   AccessPrio;  /*      :         */
   rtems_task_priority   LeavePrio;   /*      :         */
   uint32_t              EnterCnt;    /*      :         */
   uint32_t              AccessCnt;   /*      :         */
   uint32_t              LeaveCnt;    /*      :         */
<font color='#000088'>+#endif
</font> 
<font color='#000088'>+#if defined(TEST_PRINT_STATISTICS)
</font>   /* Store information about the current situation */
   EnterPrio = _Thread_Executing->current_priority;
   EnterCnt  = _Thread_Executing->resource_count;
<font color='#880000'>-
</font><font color='#000088'>+#endif
</font> 
   printf("AccessRemoteHw called by %s\n", CallerName());
 
<font color='#997700'>@@ -329,18 +337,20 @@
</font>   printf("AccessRemoteHw access local %s\n", CallerName());
   AccessLocalHw();
 
<font color='#000088'>+#if defined(TEST_PRINT_STATISTICS)
</font>   /* Store information about the current situation */
   AccessPrio = _Thread_Executing->current_priority;
   AccessCnt  = _Thread_Executing->resource_count;
<font color='#000088'>+#endif
</font> 
   Sts = rtems_semaphore_release(RemoteHwAccess_R);
   directive_failed( Sts, "rtems_semaphore_release(RemoreHwAccess_R" );
 
<font color='#000088'>+#if defined(TEST_PRINT_STATISTICS)
</font>   /* Store information about the current situation */
   LeavePrio = _Thread_Executing->current_priority;
   LeaveCnt  = _Thread_Executing->resource_count;
 
<font color='#880000'>-#if defined(TEST_PRINT_STATISTICS)
</font>   printf(
     "\nAccessRemoteHw from %s statistics:\n"
     " - Prio: %d -> %d -> %d\n - Cnt: %d -> %d -> %d\n",

<font color='#006600'>diff -u rtems/testsuites/sptests/sp39/init.c:1.11 rtems/testsuites/sptests/sp39/init.c:1.12
--- rtems/testsuites/sptests/sp39/init.c:1.11   Tue Feb 22 01:37:00 2011
+++ rtems/testsuites/sptests/sp39/init.c        Thu May  5 11:45:57 2011
</font><font color='#997700'>@@ -1,7 +1,7 @@
</font> /*
  *  Classic API Signal to Task from ISR
  *
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -44,17 +44,20 @@
</font>      *  This event send hits the critical section but sends to
      *  another task so doesn't impact this critical section.
      */
<font color='#880000'>-    rtems_event_send( other_task, 0x02 );
</font><font color='#000088'>+    status = rtems_event_send( other_task, 0x02 );
+    directive_failed( status, "event send" );
</font> 
     /*
      *  This event send hits the main task but doesn't satisfy
      *  it's blocking condition so it will still block
      */
<font color='#880000'>-    rtems_event_send( main_task, 0x02 );
</font><font color='#000088'>+    status = rtems_event_send( main_task, 0x02 );
+    directive_failed( status, "event send" );
</font> 
     case_hit = TRUE;
   }
   status = rtems_event_send( main_task, 0x01 );
<font color='#000088'>+  directive_failed( status, "event send" );
</font> }
 
 rtems_timer_service_routine test_event_with_timeout_from_isr(
<font color='#997700'>@@ -72,6 +75,7 @@
</font>     case_hit = TRUE;
   }
   status = rtems_event_send( main_task, 0x01 );
<font color='#000088'>+  directive_failed( status, "event send" );
</font> }
 
 rtems_task Init(

<font color='#006600'>diff -u rtems/testsuites/sptests/sp50/init.c:1.5 rtems/testsuites/sptests/sp50/init.c:1.6
--- rtems/testsuites/sptests/sp50/init.c:1.5    Tue Feb 22 01:37:01 2011
+++ rtems/testsuites/sptests/sp50/init.c        Thu May  5 11:45:57 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /*
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -20,17 +20,19 @@
</font> 
 rtems_timer_service_routine Timer_Routine( rtems_id id, void *ignored )
 {
<font color='#880000'>-  rtems_status_code sc;
</font><font color='#000088'>+  rtems_status_code status;
</font> 
   Fired++;
   timerRan = true;
 
<font color='#880000'>-  sc = rtems_timer_server_fire_after(
</font><font color='#000088'>+  status = rtems_timer_server_fire_after(
</font>     id,
     rtems_clock_get_ticks_per_second(),
     Timer_Routine,
     NULL
   );
<font color='#000088'>+  directive_failed( status, "fire after" );
+
</font> }
 
 rtems_task Init(

<font color='#006600'>diff -u rtems/testsuites/sptests/sp57/init.c:1.3 rtems/testsuites/sptests/sp57/init.c:1.4
--- rtems/testsuites/sptests/sp57/init.c:1.3    Tue Feb 22 01:37:01 2011
+++ rtems/testsuites/sptests/sp57/init.c        Thu May  5 11:45:57 2011
</font><font color='#997700'>@@ -1,6 +1,6 @@
</font> /*  Restart a task which is delaying
  *
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -24,6 +24,7 @@
</font> 
   puts( "Delay - rtems_task_wake_after - OK" );
   status = rtems_task_wake_after( RTEMS_MILLISECONDS_TO_TICKS(2000) );
<font color='#000088'>+  directive_failed( status, "wake after" );
</font> 
   puts( "ERROR - delay task woke up!!" );
   rtems_test_exit(0);

<font color='#006600'>diff -u rtems/testsuites/sptests/sp72/init.c:1.2 rtems/testsuites/sptests/sp72/init.c:1.3
--- rtems/testsuites/sptests/sp72/init.c:1.2    Tue Feb 22 01:37:01 2011
+++ rtems/testsuites/sptests/sp72/init.c        Thu May  5 11:45:57 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /*
<font color='#880000'>- *  COPYRIGHT (c) 1989-2010.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -30,6 +30,8 @@
</font>     RTEMS_DEFAULT_OPTIONS,
     rtems_clock_get_ticks_per_second() * 10
   );
<font color='#000088'>+  directive_failed( status, "obtain" );
+
</font> }
 
 rtems_task Init(

<font color='#006600'>diff -u rtems/testsuites/sptests/sp73/init.c:1.1 rtems/testsuites/sptests/sp73/init.c:1.2
--- rtems/testsuites/sptests/sp73/init.c:1.1    Fri Mar 11 10:39:27 2011
+++ rtems/testsuites/sptests/sp73/init.c        Thu May  5 11:45:57 2011
</font><font color='#997700'>@@ -31,6 +31,8 @@
</font>   task_index = arg;
   for ( ; ; ) {
     status = rtems_clock_get_tod( &time );
<font color='#000088'>+    directive_failed( status, "get tod" );
+
</font>     if ( time.second >= 15 ) {
       puts( "*** END OF SP73 (YIELD) TEST ***" );
       rtems_test_exit( 0 );
<font color='#997700'>@@ -38,11 +40,12 @@
</font>     put_name( Task_name[ task_index ], FALSE );
     print_time( " - rtems_clock_get_tod - ", &time, "\n" );
     status = rtems_task_wake_after(
<font color='#880000'>-      task_index * 5 * rtems_clock_get_ticks_per_second() );
</font><font color='#000088'>+      task_index * 5 * rtems_clock_get_ticks_per_second()
+    );
+    directive_failed( status, "wake after" );
</font>   }
 }
 
<font color='#880000'>-
</font> rtems_task Init(
   rtems_task_argument argument
 )
<font color='#997700'>@@ -71,25 +74,39 @@
</font>     Task_name[ 1 ], 1, RTEMS_MINIMUM_STACK_SIZE, RTEMS_DEFAULT_MODES,
     RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 1 ]
   );
<font color='#000088'>+  directive_failed( status, "create 1" );
+
</font>   status = rtems_task_create(
     Task_name[ 2 ], 1, RTEMS_MINIMUM_STACK_SIZE, RTEMS_DEFAULT_MODES,
     RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 2 ]
   );
<font color='#000088'>+  directive_failed( status, "create 2" );
+
</font>   status = rtems_task_create(
     Task_name[ 3 ], 1, RTEMS_MINIMUM_STACK_SIZE, RTEMS_DEFAULT_MODES,
     RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 3 ]
   );
<font color='#000088'>+  directive_failed( status, "create 3" );
</font> 
   status = rtems_task_start( Task_id[ 1 ], Test_task, 1 );
<font color='#000088'>+  directive_failed( status, "start 1" );
</font>   rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
<font color='#000088'>+
</font>   status = rtems_task_start( Task_id[ 2 ], Test_task, 2 );
<font color='#000088'>+  directive_failed( status, "start 2" );
</font>   rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
<font color='#000088'>+
</font>   status = rtems_task_start( Task_id[ 3 ], Test_task, 3 );
<font color='#000088'>+  directive_failed( status, "start 3" );
</font> 
<font color='#880000'>-  rtems_task_set_priority(Task_id[1], 1, &old);
-  rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
</font><font color='#000088'>+  status = rtems_task_set_priority(Task_id[1], 1, &old);
+  directive_failed( status, "set priority" );
+
+  status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
+  directive_failed( status, "wake after" );
</font> 
   status = rtems_task_delete( RTEMS_SELF );
<font color='#000088'>+  directive_failed( status, "delete" );
</font> }
 
 /* configuration information */

<font color='#006600'>diff -u rtems/testsuites/sptests/spintrcritical01/init.c:1.6 rtems/testsuites/sptests/spintrcritical01/init.c:1.7
--- rtems/testsuites/sptests/spintrcritical01/init.c:1.6        Tue Feb 22 01:37:02 2011
+++ rtems/testsuites/sptests/spintrcritical01/init.c    Thu May  5 11:45:57 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /*
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -82,7 +82,9 @@
</font>   if ( getState() == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED ) {
     case_hit = true;
   }
<font color='#000088'>+
</font>   status = rtems_semaphore_release( Semaphore );
<font color='#000088'>+  directive_failed( status, "release" );
</font> }
 
 

<font color='#006600'>diff -u rtems/testsuites/sptests/spprivenv01/init.c:1.3 rtems/testsuites/sptests/spprivenv01/init.c:1.4
--- rtems/testsuites/sptests/spprivenv01/init.c:1.3     Tue Feb 22 01:37:03 2011
+++ rtems/testsuites/sptests/spprivenv01/init.c Thu May  5 11:45:57 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /*
<font color='#880000'>- *  COPYRIGHT (c) 1989-2010.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -20,11 +20,12 @@
</font> 
 rtems_task task_routine( rtems_task_argument not_used )
 {
<font color='#880000'>-  int sc = 0;
</font><font color='#000088'>+  rtems_status_code sc;
</font> 
   puts( "task_routine - setting up a private environment" );
 
   sc = rtems_libio_set_private_env();
<font color='#000088'>+  directive_failed( sc, "set private env" );
</font>   sleep( 1 );
 
   rtems_task_delete( RTEMS_SELF );
<font color='#997700'>@@ -34,12 +35,12 @@
</font>   rtems_task_argument argument
 )
 {
<font color='#880000'>-  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;
</font><font color='#000088'>+  rtems_status_code       sc;
+  bool                    status;
+  void                   *alloc_ptr;
+  rtems_id                current_task_id;
+  rtems_id                task_id;
+  rtems_name              another_task_name;
</font>   Heap_Information_block  Info;
   
   puts( "\n\n*** TEST USER ENVIRONMENT ROUTINE - 01 ***" );

<font color='#006600'>diff -u rtems/testsuites/sptests/spsimplesched01/init.c:1.1 rtems/testsuites/sptests/spsimplesched01/init.c:1.2
--- rtems/testsuites/sptests/spsimplesched01/init.c:1.1 Wed Mar 16 11:33:04 2011
+++ rtems/testsuites/sptests/spsimplesched01/init.c     Thu May  5 11:45:57 2011
</font><font color='#997700'>@@ -25,15 +25,18 @@
</font>   rtems_task_argument unused
 )
 {
<font color='#880000'>-  rtems_id          tid;
-  rtems_time_of_day time;
-  uint32_t    task_index;
-  rtems_status_code status;
</font><font color='#000088'>+  rtems_id           tid;
+  rtems_time_of_day  time;
+  uint32_t           task_index;
+  rtems_status_code  status;
</font> 
   status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid );
<font color='#000088'>+  directive_failed( status, "task ident" );
+
</font>   task_index = task_number( tid );
   for ( ; ; ) {
     status = rtems_clock_get_tod( &time );
<font color='#000088'>+    directive_failed( status, "clock get tod" );
</font>     if ( time.second >= 35 ) {
       puts( "*** END OF SIMPLE01 TEST ***" );
       rtems_test_exit( 0 );
<font color='#997700'>@@ -41,7 +44,9 @@
</font>     put_name( Task_name[ task_index ], FALSE );
     print_time( " - rtems_clock_get_tod - ", &time, "\n" );
     status = rtems_task_wake_after(
<font color='#880000'>-      task_index * 5 * rtems_clock_get_ticks_per_second() );
</font><font color='#000088'>+      task_index * 5 * rtems_clock_get_ticks_per_second()
+    );
+    directive_failed( status, "wake after" );
</font>   }
 }
 
<font color='#997700'>@@ -73,28 +78,43 @@
</font>     Task_name[ 1 ], 1, RTEMS_MINIMUM_STACK_SIZE * 2, RTEMS_DEFAULT_MODES,
     RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 1 ]
   );
<font color='#000088'>+  directive_failed( status, "create 1" );
+
</font>   status = rtems_task_create(
     Task_name[ 2 ], 1, RTEMS_MINIMUM_STACK_SIZE * 2, RTEMS_DEFAULT_MODES,
     RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 2 ]
   );
<font color='#000088'>+  directive_failed( status, "create 2" );
+
</font>   status = rtems_task_create(
     Task_name[ 3 ], 1, RTEMS_MINIMUM_STACK_SIZE * 2, RTEMS_DEFAULT_MODES,
     RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 3 ]
   );
<font color='#000088'>+  directive_failed( status, "create 3" );
</font> 
   status = rtems_task_start( Task_id[ 1 ], Test_task, 1 );
<font color='#000088'>+  directive_failed( status, "start 1" );
</font>   rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
<font color='#000088'>+
</font>   status = rtems_task_start( Task_id[ 2 ], Test_task, 2 );
<font color='#000088'>+  directive_failed( status, "start 2" );
</font>   rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
<font color='#000088'>+
</font>   status = rtems_task_start( Task_id[ 3 ], Test_task, 3 );
<font color='#000088'>+  directive_failed( status, "start 3" );
</font> 
<font color='#880000'>-  rtems_task_set_priority(Task_id[1], 2, &old);
-  rtems_task_set_priority(Task_id[2], 2, &old);
-  rtems_task_set_priority(Task_id[3], 2, &old);
</font><font color='#000088'>+  status = rtems_task_set_priority( Task_id[1], 2, &old );
+  directive_failed( status, "set priority 1" );
+  status = rtems_task_set_priority( Task_id[2], 2, &old );
+  directive_failed( status, "set priority 2" );
+  status = rtems_task_set_priority( Task_id[3], 2, &old );
+  directive_failed( status, "set priority 3" );
</font> 
<font color='#880000'>-  rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
</font><font color='#000088'>+  status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
+  directive_failed( status, "yield" );
</font> 
   status = rtems_task_delete( RTEMS_SELF );
<font color='#000088'>+  directive_failed( status, "delete self" );
</font> }
 
 /* configuration information */

<font color='#006600'>diff -u rtems/testsuites/sptests/spsimplesched02/init.c:1.1 rtems/testsuites/sptests/spsimplesched02/init.c:1.2
--- rtems/testsuites/sptests/spsimplesched02/init.c:1.1 Wed Mar 16 11:33:04 2011
+++ rtems/testsuites/sptests/spsimplesched02/init.c     Thu May  5 11:45:57 2011
</font><font color='#997700'>@@ -28,14 +28,14 @@
</font> )
 {
   rtems_id          tid;
<font color='#880000'>-  uint32_t    task_index;
</font>   rtems_status_code status;
 
   status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid );
<font color='#880000'>-  task_index = task_number( tid );
</font><font color='#000088'>+  directive_failed( status, "wake after" );
</font> 
   for ( ; ; ) {
<font color='#880000'>-    rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
</font><font color='#000088'>+    status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
+    directive_failed( status, "yield" );
</font>   }
 }
 
</pre>
<p> </p>
<a name='cs5'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>

        * tm01/task1.c, tm02/task1.c, tm03/task1.c, tm15/task1.c: Remove
        warnings.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/tmtests/ChangeLog.diff?r1=text&tr1=1.99&r2=text&tr2=1.100&diff_format=h">M</a></td><td width='1%'>1.100</td><td width='100%'>testsuites/tmtests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/tmtests/tm01/task1.c.diff?r1=text&tr1=1.19&r2=text&tr2=1.20&diff_format=h">M</a></td><td width='1%'>1.20</td><td width='100%'>testsuites/tmtests/tm01/task1.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/tmtests/tm02/task1.c.diff?r1=text&tr1=1.19&r2=text&tr2=1.20&diff_format=h">M</a></td><td width='1%'>1.20</td><td width='100%'>testsuites/tmtests/tm02/task1.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/tmtests/tm03/task1.c.diff?r1=text&tr1=1.19&r2=text&tr2=1.20&diff_format=h">M</a></td><td width='1%'>1.20</td><td width='100%'>testsuites/tmtests/tm03/task1.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/tmtests/tm15/task1.c.diff?r1=text&tr1=1.18&r2=text&tr2=1.19&diff_format=h">M</a></td><td width='1%'>1.19</td><td width='100%'>testsuites/tmtests/tm15/task1.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/tmtests/ChangeLog:1.99 rtems/testsuites/tmtests/ChangeLog:1.100
--- rtems/testsuites/tmtests/ChangeLog:1.99     Wed Mar 16 12:11:32 2011
+++ rtems/testsuites/tmtests/ChangeLog  Thu May  5 11:46:00 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-05-05    Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * tm01/task1.c, tm02/task1.c, tm03/task1.c, tm15/task1.c: Remove
+       warnings.
+
</font> 2011-03-16        Jennifer Averett <jennifer.averett@OARcorp.com>
 
        PR 1743/cpu

<font color='#006600'>diff -u rtems/testsuites/tmtests/tm01/task1.c:1.19 rtems/testsuites/tmtests/tm01/task1.c:1.20
--- rtems/testsuites/tmtests/tm01/task1.c:1.19  Tue Feb 22 03:57:13 2011
+++ rtems/testsuites/tmtests/tm01/task1.c       Thu May  5 11:46:00 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /*
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -115,6 +115,7 @@
</font>     RTEMS_NO_PRIORITY,
     &smid
   );
<font color='#000088'>+  directive_failed( status, "rtems_task_create of TA1" );
</font> 
   for ( iterations=OPERATION_COUNT ; iterations ; iterations-- ) {
 

<font color='#006600'>diff -u rtems/testsuites/tmtests/tm02/task1.c:1.19 rtems/testsuites/tmtests/tm02/task1.c:1.20
--- rtems/testsuites/tmtests/tm02/task1.c:1.19  Tue Feb 22 03:57:13 2011
+++ rtems/testsuites/tmtests/tm02/task1.c       Thu May  5 11:46:00 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /*
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -121,10 +121,10 @@
</font>   rtems_task_argument argument
 )
 {
<font color='#880000'>-  rtems_status_code status;
</font><font color='#000088'>+  /* start blocking rtems_semaphore_obtain time */
+  benchmark_timer_initialize();
</font> 
<font color='#880000'>-  benchmark_timer_initialize();           /* start blocking rtems_semaphore_obtain time */
-  status = rtems_semaphore_obtain(
</font><font color='#000088'>+  (void) rtems_semaphore_obtain(
</font>     Semaphore_id,
     RTEMS_DEFAULT_OPTIONS,
     RTEMS_NO_TIMEOUT
<font color='#997700'>@@ -135,9 +135,7 @@
</font>   rtems_task_argument argument
 )
 {
<font color='#880000'>-  rtems_status_code status;
-
-  status = rtems_semaphore_obtain(
</font><font color='#000088'>+  (void) rtems_semaphore_obtain(
</font>     Semaphore_id,
     RTEMS_DEFAULT_OPTIONS,
     RTEMS_NO_TIMEOUT

<font color='#006600'>diff -u rtems/testsuites/tmtests/tm03/task1.c:1.19 rtems/testsuites/tmtests/tm03/task1.c:1.20
--- rtems/testsuites/tmtests/tm03/task1.c:1.19  Tue Feb 22 03:57:13 2011
+++ rtems/testsuites/tmtests/tm03/task1.c       Thu May  5 11:46:00 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /*
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -118,24 +118,20 @@
</font>   rtems_task_argument argument
 )
 {
<font color='#880000'>-  rtems_status_code status;
-
-  status = rtems_semaphore_obtain(
</font><font color='#000088'>+  (void) rtems_semaphore_obtain(
</font>     Semaphore_id,
     RTEMS_DEFAULT_OPTIONS,
     RTEMS_NO_TIMEOUT
   );
 
<font color='#880000'>-  status = rtems_semaphore_release( Semaphore_id );
</font><font color='#000088'>+  (void) rtems_semaphore_release( Semaphore_id );
</font> }
 
 rtems_task High_task(
   rtems_task_argument argument
 )
 {
<font color='#880000'>-  rtems_status_code status;
-
-  status = rtems_semaphore_obtain(
</font><font color='#000088'>+  (void) rtems_semaphore_obtain(
</font>     Semaphore_id,
     RTEMS_DEFAULT_OPTIONS,
     RTEMS_NO_TIMEOUT

<font color='#006600'>diff -u rtems/testsuites/tmtests/tm15/task1.c:1.18 rtems/testsuites/tmtests/tm15/task1.c:1.19
--- rtems/testsuites/tmtests/tm15/task1.c:1.18  Tue Feb 22 03:57:13 2011
+++ rtems/testsuites/tmtests/tm15/task1.c       Thu May  5 11:46:00 2011
</font><font color='#997700'>@@ -1,5 +1,5 @@
</font> /*
<font color='#880000'>- *  COPYRIGHT (c) 1989-2009.
</font><font color='#000088'>+ *  COPYRIGHT (c) 1989-2011.
</font>  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
<font color='#997700'>@@ -203,10 +203,8 @@
</font>   rtems_task_argument argument
 )
 {
<font color='#880000'>-  rtems_status_code status;
-
</font>   if ( time_set )
<font color='#880000'>-    status = rtems_event_receive(
</font><font color='#000088'>+    (void) rtems_event_receive(
</font>       RTEMS_EVENT_16,
       RTEMS_DEFAULT_OPTIONS,
       RTEMS_NO_TIMEOUT,
<font color='#997700'>@@ -214,8 +212,9 @@
</font>     );
   else {
     time_set = true;
<font color='#880000'>-    benchmark_timer_initialize();            /* start blocking rtems_event_receive time */
-    status = rtems_event_receive(
</font><font color='#000088'>+    /* start blocking rtems_event_receive time */
+    benchmark_timer_initialize();
+    (void) rtems_event_receive(
</font>       RTEMS_EVENT_16,
       RTEMS_DEFAULT_OPTIONS,
       RTEMS_NO_TIMEOUT,
</pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>