<!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-10-12)</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>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-10-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/timer01.c, psxhdrs/timer02.c, psxhdrs/timer03.c,
psxhdrs/timer04.c, psxhdrs/timer05.c, psxhdrs/timer06.c,
psxhdrs/timer07.c: Let test() return values (avoid 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.357&r2=text&tr2=1.358&diff_format=h">M</a></td><td width='1%'>1.358</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/psxhdrs/timer01.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/psxhdrs/timer01.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/timer02.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/psxhdrs/timer02.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/timer03.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/psxtests/psxhdrs/timer03.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/timer04.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/psxtests/psxhdrs/timer04.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/timer05.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/psxtests/psxhdrs/timer05.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/timer06.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/psxhdrs/timer06.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/timer07.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/psxtests/psxhdrs/timer07.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/psxtests/ChangeLog:1.357 rtems/testsuites/psxtests/ChangeLog:1.358
--- rtems/testsuites/psxtests/ChangeLog:1.357 Thu Sep 29 21:53:32 2011
+++ rtems/testsuites/psxtests/ChangeLog Tue Oct 11 23:15:32 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-10-12 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * psxhdrs/timer01.c, psxhdrs/timer02.c, psxhdrs/timer03.c,
+ psxhdrs/timer04.c, psxhdrs/timer05.c, psxhdrs/timer06.c,
+ psxhdrs/timer07.c: Let test() return values (avoid warnings).
+
</font> 2011-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* psx01/init.c, psx07/init.c, psx09/init.c, psx12/init.c,
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/timer01.c:1.10 rtems/testsuites/psxtests/psxhdrs/timer01.c:1.11
--- rtems/testsuites/psxtests/psxhdrs/timer01.c:1.10 Tue Feb 22 03:47:34 2011
+++ rtems/testsuites/psxtests/psxhdrs/timer01.c Tue Oct 11 23:15:32 2011
</font><font color='#997700'>@@ -22,9 +22,9 @@
</font> #error "rtems is supposed to have timer_create"
#endif
<font color='#880000'>-void test( void );
</font><font color='#000088'>+int test( void );
</font>
<font color='#880000'>-void test( void )
</font><font color='#000088'>+int test( void )
</font> {
clockid_t clock_id = 0;
timer_t timerid = 0;
<font color='#997700'>@@ -39,4 +39,6 @@
</font> evp.sigev_value.sival_ptr = NULL;
result = timer_create( clock_id, &evp, &timerid );
<font color='#000088'>+<span style="background-color: #FF0000"> </span>
+ return result;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/timer02.c:1.10 rtems/testsuites/psxtests/psxhdrs/timer02.c:1.11
--- rtems/testsuites/psxtests/psxhdrs/timer02.c:1.10 Tue Feb 22 03:47:34 2011
+++ rtems/testsuites/psxtests/psxhdrs/timer02.c Tue Oct 11 23:15:32 2011
</font><font color='#997700'>@@ -22,12 +22,14 @@
</font> #error "rtems is supposed to have timer_delete"
#endif
<font color='#880000'>-void test( void );
</font><font color='#000088'>+int test( void );
</font>
<font color='#880000'>-void test( void )
</font><font color='#000088'>+int test( void )
</font> {
timer_t timerid = 0;
int result;
result = timer_delete( timerid );
<font color='#000088'>+
+ return result;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/timer03.c:1.11 rtems/testsuites/psxtests/psxhdrs/timer03.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/timer03.c:1.11 Tue Feb 22 03:47:34 2011
+++ rtems/testsuites/psxtests/psxhdrs/timer03.c Tue Oct 11 23:15:32 2011
</font><font color='#997700'>@@ -22,9 +22,9 @@
</font> #error "rtems is supposed to have timer_settime"
#endif
<font color='#880000'>-void test( void );
</font><font color='#000088'>+int test( void );
</font>
<font color='#880000'>-void test( void )
</font><font color='#000088'>+int test( void )
</font> {
timer_t timerid = 0;
int flags;
<font color='#997700'>@@ -41,4 +41,6 @@
</font> flags = CLOCK_REALTIME;
result = timer_settime( timerid, flags, &value, &ovalue );
<font color='#000088'>+
+ return result;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/timer04.c:1.11 rtems/testsuites/psxtests/psxhdrs/timer04.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/timer04.c:1.11 Tue Feb 22 03:47:34 2011
+++ rtems/testsuites/psxtests/psxhdrs/timer04.c Tue Oct 11 23:15:32 2011
</font><font color='#997700'>@@ -22,13 +22,15 @@
</font> #error "rtems is supposed to have timer_gettime"
#endif
<font color='#880000'>-void test( void );
</font><font color='#000088'>+int test( void );
</font>
<font color='#880000'>-void test( void )
</font><font color='#000088'>+int test( void )
</font> {
timer_t timerid = 0;
struct itimerspec value;
int result;
result = timer_gettime( timerid, &value );
<font color='#000088'>+
+ return result;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/timer05.c:1.11 rtems/testsuites/psxtests/psxhdrs/timer05.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/timer05.c:1.11 Tue Feb 22 03:47:34 2011
+++ rtems/testsuites/psxtests/psxhdrs/timer05.c Tue Oct 11 23:15:32 2011
</font><font color='#997700'>@@ -22,12 +22,14 @@
</font> #error "rtems is supposed to have timer_getoverrun"
#endif
<font color='#880000'>-void test( void );
</font><font color='#000088'>+int test( void );
</font>
<font color='#880000'>-void test( void )
</font><font color='#000088'>+int test( void )
</font> {
timer_t timerid = 0;
int result;
result = timer_getoverrun( timerid );
<font color='#000088'>+
+ return result;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/timer06.c:1.10 rtems/testsuites/psxtests/psxhdrs/timer06.c:1.11
--- rtems/testsuites/psxtests/psxhdrs/timer06.c:1.10 Tue Feb 22 03:47:34 2011
+++ rtems/testsuites/psxtests/psxhdrs/timer06.c Tue Oct 11 23:15:32 2011
</font><font color='#997700'>@@ -22,9 +22,9 @@
</font> #error "rtems is supposed to have nanosleep"
#endif
<font color='#880000'>-void test( void );
</font><font color='#000088'>+int test( void );
</font>
<font color='#880000'>-void test( void )
</font><font color='#000088'>+int test( void )
</font> {
struct timespec rqtp;
struct timespec rmtp;
<font color='#997700'>@@ -33,4 +33,6 @@
</font> rqtp.tv_sec = 0;
rqtp.tv_nsec = 0;
result = nanosleep( &rqtp, &rmtp );
<font color='#000088'>+
+ return result;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/timer07.c:1.5 rtems/testsuites/psxtests/psxhdrs/timer07.c:1.6
--- rtems/testsuites/psxtests/psxhdrs/timer07.c:1.5 Tue Feb 22 03:47:34 2011
+++ rtems/testsuites/psxtests/psxhdrs/timer07.c Tue Oct 11 23:15:32 2011
</font><font color='#997700'>@@ -18,13 +18,15 @@
</font>
#include <unistd.h>
<font color='#880000'>-void test( void );
</font><font color='#000088'>+int test( void );
</font>
<font color='#880000'>-void test( void )
</font><font color='#000088'>+int test( void )
</font> {
useconds_t usec;
unsigned result;
usec = 0;
result = usleep( usec );
<font color='#000088'>+
+ return result;
</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>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-10-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/time01.c, psxhdrs/time02.c, psxhdrs/time03.c,
psxhdrs/time04.c, psxhdrs/time05.c, psxhdrs/time06.c,
psxhdrs/time07.c, psxhdrs/time08.c, psxhdrs/time09.c,
psxhdrs/time10.c, psxhdrs/time11.c, psxhdrs/time12.c,
psxhdrs/time13.c: Let test() return values (avoid 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.358&r2=text&tr2=1.359&diff_format=h">M</a></td><td width='1%'>1.359</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/psxhdrs/time01.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/psxhdrs/time01.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/time02.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/psxhdrs/time02.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/time03.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/psxhdrs/time03.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/time04.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/psxhdrs/time04.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/time05.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/psxhdrs/time05.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/time06.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/psxhdrs/time06.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/time07.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/psxhdrs/time07.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/time08.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/psxtests/psxhdrs/time08.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/time09.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/psxhdrs/time09.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/time10.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/psxhdrs/time10.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/time11.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/psxhdrs/time11.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/time12.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/psxhdrs/time12.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/time13.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/psxhdrs/time13.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/psxtests/ChangeLog:1.358 rtems/testsuites/psxtests/ChangeLog:1.359
--- rtems/testsuites/psxtests/ChangeLog:1.358 Tue Oct 11 23:15:32 2011
+++ rtems/testsuites/psxtests/ChangeLog Tue Oct 11 23:19:10 2011
</font><font color='#997700'>@@ -1,5 +1,10 @@
</font> 2011-10-12 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#000088'>+ * psxhdrs/time01.c, psxhdrs/time02.c, psxhdrs/time03.c,
+ psxhdrs/time04.c, psxhdrs/time05.c, psxhdrs/time06.c,
+ psxhdrs/time07.c, psxhdrs/time08.c, psxhdrs/time09.c,
+ psxhdrs/time10.c, psxhdrs/time11.c, psxhdrs/time12.c,
+ psxhdrs/time13.c: Let test() return values (avoid warnings).
</font> * psxhdrs/timer01.c, psxhdrs/timer02.c, psxhdrs/timer03.c,
psxhdrs/timer04.c, psxhdrs/timer05.c, psxhdrs/timer06.c,
psxhdrs/timer07.c: Let test() return values (avoid warnings).
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/time01.c:1.10 rtems/testsuites/psxtests/psxhdrs/time01.c:1.11
--- rtems/testsuites/psxtests/psxhdrs/time01.c:1.10 Tue Feb 22 03:47:34 2011
+++ rtems/testsuites/psxtests/psxhdrs/time01.c Tue Oct 11 23:19:10 2011
</font><font color='#997700'>@@ -18,11 +18,13 @@
</font>
#include <time.h>
<font color='#880000'>-void test( void );
</font><font color='#000088'>+int test( void );
</font>
<font color='#880000'>-void test( void )
</font><font color='#000088'>+int test( void )
</font> {
clock_t clock_ticks;
clock_ticks = clock();
<font color='#000088'>+
+ return (clock_ticks != -1);
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/time02.c:1.10 rtems/testsuites/psxtests/psxhdrs/time02.c:1.11
--- rtems/testsuites/psxtests/psxhdrs/time02.c:1.10 Tue Feb 22 03:47:34 2011
+++ rtems/testsuites/psxtests/psxhdrs/time02.c Tue Oct 11 23:19:10 2011
</font><font color='#997700'>@@ -18,9 +18,9 @@
</font>
#include <time.h>
<font color='#880000'>-void test( void );
</font><font color='#000088'>+int test( void );
</font>
<font color='#880000'>-void test( void )
</font><font color='#000088'>+int test( void )
</font> {
time_t time1;
time_t time2;
<font color='#997700'>@@ -30,4 +30,6 @@
</font> time2 = 0;
difference = difftime( time1, time2 );
<font color='#000088'>+
+ return (difference != 0.0);
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/time03.c:1.10 rtems/testsuites/psxtests/psxhdrs/time03.c:1.11
--- rtems/testsuites/psxtests/psxhdrs/time03.c:1.10 Tue Feb 22 03:47:34 2011
+++ rtems/testsuites/psxtests/psxhdrs/time03.c Tue Oct 11 23:19:10 2011
</font><font color='#997700'>@@ -18,9 +18,9 @@
</font>
#include <time.h>
<font color='#880000'>-void test( void );
</font><font color='#000088'>+int test( void );
</font>
<font color='#880000'>-void test( void )
</font><font color='#000088'>+int test( void )
</font> {
struct tm timestruct;
time_t time_encoded;
<font color='#997700'>@@ -36,4 +36,6 @@
</font> timestruct.tm_isdst = 0;
time_encoded = mktime( ×truct );
<font color='#000088'>+
+ return (time_encoded != -1);
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/time04.c:1.10 rtems/testsuites/psxtests/psxhdrs/time04.c:1.11
--- rtems/testsuites/psxtests/psxhdrs/time04.c:1.10 Tue Feb 22 03:47:34 2011
+++ rtems/testsuites/psxtests/psxhdrs/time04.c Tue Oct 11 23:19:10 2011
</font><font color='#997700'>@@ -18,11 +18,13 @@
</font>
#include <time.h>
<font color='#880000'>-void test( void );
</font><font color='#000088'>+int test( void );
</font>
<font color='#880000'>-void test( void )
</font><font color='#000088'>+int test( void )
</font> {
time_t new_time;
new_time = time( &new_time );
<font color='#000088'>+
+ return (new_time != -1);
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/time05.c:1.10 rtems/testsuites/psxtests/psxhdrs/time05.c:1.11
--- rtems/testsuites/psxtests/psxhdrs/time05.c:1.10 Tue Feb 22 03:47:34 2011
+++ rtems/testsuites/psxtests/psxhdrs/time05.c Tue Oct 11 23:19:10 2011
</font><font color='#997700'>@@ -18,9 +18,9 @@
</font>
#include <time.h>
<font color='#880000'>-void test( void );
</font><font color='#000088'>+int test( void );
</font>
<font color='#880000'>-void test( void )
</font><font color='#000088'>+int test( void )
</font> {
size_t length;
size_t max_length;
<font color='#997700'>@@ -30,4 +30,6 @@
</font> max_length = sizeof( buffer );
length = strftime( buffer, max_length, "%A", ×truct );
<font color='#000088'>+
+ return (length != 0);
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/time06.c:1.10 rtems/testsuites/psxtests/psxhdrs/time06.c:1.11
--- rtems/testsuites/psxtests/psxhdrs/time06.c:1.10 Tue Feb 22 03:47:34 2011
+++ rtems/testsuites/psxtests/psxhdrs/time06.c Tue Oct 11 23:19:10 2011
</font><font color='#997700'>@@ -18,12 +18,14 @@
</font>
#include <time.h>
<font color='#880000'>-void test( void );
</font><font color='#000088'>+int test( void );
</font>
<font color='#880000'>-void test( void )
</font><font color='#000088'>+int test( void )
</font> {
char *buffer;
struct tm timestruct;
buffer = asctime( ×truct );
<font color='#000088'>+
+ return (buffer != NULL);
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/time07.c:1.10 rtems/testsuites/psxtests/psxhdrs/time07.c:1.11
--- rtems/testsuites/psxtests/psxhdrs/time07.c:1.10 Tue Feb 22 03:47:34 2011
+++ rtems/testsuites/psxtests/psxhdrs/time07.c Tue Oct 11 23:19:11 2011
</font><font color='#997700'>@@ -18,12 +18,14 @@
</font>
#include <time.h>
<font color='#880000'>-void test( void );
</font><font color='#000088'>+int test( void );
</font>
<font color='#880000'>-void test( void )
</font><font color='#000088'>+int test( void )
</font> {
char *buffer;
time_t time;
buffer = ctime( &time );
<font color='#000088'>+
+ return (buffer != NULL);
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/time08.c:1.11 rtems/testsuites/psxtests/psxhdrs/time08.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/time08.c:1.11 Tue Feb 22 03:47:34 2011
+++ rtems/testsuites/psxtests/psxhdrs/time08.c Tue Oct 11 23:19:11 2011
</font><font color='#997700'>@@ -18,12 +18,14 @@
</font>
#include <time.h>
<font color='#880000'>-void test( void );
</font><font color='#000088'>+int test( void );
</font>
<font color='#880000'>-void test( void )
</font><font color='#000088'>+int test( void )
</font> {
time_t time;
struct tm *timestruct;
timestruct = gmtime( &time );
<font color='#000088'>+
+ return (timestruct != NULL);
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/time09.c:1.10 rtems/testsuites/psxtests/psxhdrs/time09.c:1.11
--- rtems/testsuites/psxtests/psxhdrs/time09.c:1.10 Tue Feb 22 03:47:34 2011
+++ rtems/testsuites/psxtests/psxhdrs/time09.c Tue Oct 11 23:19:11 2011
</font><font color='#997700'>@@ -18,12 +18,14 @@
</font>
#include <time.h>
<font color='#880000'>-void test( void );
</font><font color='#000088'>+int test( void );
</font>
<font color='#880000'>-void test( void )
</font><font color='#000088'>+int test( void )
</font> {
time_t time;
struct tm *timestruct;
timestruct = localtime( &time );
<font color='#000088'>+
+ return (timestruct != NULL);
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/time10.c:1.10 rtems/testsuites/psxtests/psxhdrs/time10.c:1.11
--- rtems/testsuites/psxtests/psxhdrs/time10.c:1.10 Tue Feb 22 03:47:34 2011
+++ rtems/testsuites/psxtests/psxhdrs/time10.c Tue Oct 11 23:19:11 2011
</font><font color='#997700'>@@ -18,13 +18,15 @@
</font>
#include <time.h>
<font color='#880000'>-void test( void );
</font><font color='#000088'>+int test( void );
</font>
<font color='#880000'>-void test( void )
</font><font color='#000088'>+int test( void )
</font> {
char *buffer_pointer;
struct tm timestruct;
char buffer[ 80 ];
buffer_pointer = asctime_r( ×truct, buffer );
<font color='#000088'>+
+ return (buffer_pointer != NULL);
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/time11.c:1.10 rtems/testsuites/psxtests/psxhdrs/time11.c:1.11
--- rtems/testsuites/psxtests/psxhdrs/time11.c:1.10 Tue Feb 22 03:47:34 2011
+++ rtems/testsuites/psxtests/psxhdrs/time11.c Tue Oct 11 23:19:11 2011
</font><font color='#997700'>@@ -18,13 +18,15 @@
</font>
#include <time.h>
<font color='#880000'>-void test( void );
</font><font color='#000088'>+int test( void );
</font>
<font color='#880000'>-void test( void )
</font><font color='#000088'>+int test( void )
</font> {
char *buffer_pointer;
char buffer[ 80 ];
time_t time;
buffer_pointer = ctime_r( &time, buffer );
<font color='#000088'>+
+ return (buffer_pointer != NULL);
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/time12.c:1.10 rtems/testsuites/psxtests/psxhdrs/time12.c:1.11
--- rtems/testsuites/psxtests/psxhdrs/time12.c:1.10 Tue Feb 22 03:47:34 2011
+++ rtems/testsuites/psxtests/psxhdrs/time12.c Tue Oct 11 23:19:11 2011
</font><font color='#997700'>@@ -18,13 +18,15 @@
</font>
#include <time.h>
<font color='#880000'>-void test( void );
</font><font color='#000088'>+int test( void );
</font>
<font color='#880000'>-void test( void )
</font><font color='#000088'>+int test( void )
</font> {
time_t time;
struct tm *timestruct_pointer;
struct tm timestruct;
timestruct_pointer = gmtime_r( &time, ×truct );
<font color='#000088'>+
+ return (timestruct_pointer != NULL);
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/time13.c:1.10 rtems/testsuites/psxtests/psxhdrs/time13.c:1.11
--- rtems/testsuites/psxtests/psxhdrs/time13.c:1.10 Tue Feb 22 03:47:34 2011
+++ rtems/testsuites/psxtests/psxhdrs/time13.c Tue Oct 11 23:19:11 2011
</font><font color='#997700'>@@ -18,13 +18,15 @@
</font>
#include <time.h>
<font color='#880000'>-void test( void );
</font><font color='#000088'>+int test( void );
</font>
<font color='#880000'>-void test( void )
</font><font color='#000088'>+int test( void )
</font> {
time_t time;
struct tm *timestruct_pointer;
struct tm timestruct;
timestruct_pointer = localtime_r( &time, ×truct );
<font color='#000088'>+
+ return (timestruct_pointer != NULL);
</font> }
</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>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-10-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/sync01.c, psxhdrs/sync02.c: Let test() return values
(avoid 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.359&r2=text&tr2=1.360&diff_format=h">M</a></td><td width='1%'>1.360</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/psxhdrs/sync01.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/psxhdrs/sync01.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/sync02.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/psxhdrs/sync02.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/psxtests/ChangeLog:1.359 rtems/testsuites/psxtests/ChangeLog:1.360
--- rtems/testsuites/psxtests/ChangeLog:1.359 Tue Oct 11 23:19:10 2011
+++ rtems/testsuites/psxtests/ChangeLog Tue Oct 11 23:21:57 2011
</font><font color='#997700'>@@ -1,5 +1,7 @@
</font> 2011-10-12 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#000088'>+ * psxhdrs/sync01.c, psxhdrs/sync02.c: Let test() return values
+ (avoid warnings).
</font> * psxhdrs/time01.c, psxhdrs/time02.c, psxhdrs/time03.c,
psxhdrs/time04.c, psxhdrs/time05.c, psxhdrs/time06.c,
psxhdrs/time07.c, psxhdrs/time08.c, psxhdrs/time09.c,
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/sync01.c:1.6 rtems/testsuites/psxtests/psxhdrs/sync01.c:1.7
--- rtems/testsuites/psxtests/psxhdrs/sync01.c:1.6 Tue Feb 22 03:47:34 2011
+++ rtems/testsuites/psxtests/psxhdrs/sync01.c Tue Oct 11 23:21:57 2011
</font><font color='#997700'>@@ -18,13 +18,15 @@
</font>
#include <unistd.h>
<font color='#880000'>-void test( void );
</font><font color='#000088'>+int test( void );
</font>
<font color='#880000'>-void test( void )
</font><font color='#000088'>+int test( void )
</font> {
int fd;
int result;
fd = 4;
result = fsync( fd );
<font color='#000088'>+
+ return result;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/sync02.c:1.6 rtems/testsuites/psxtests/psxhdrs/sync02.c:1.7
--- rtems/testsuites/psxtests/psxhdrs/sync02.c:1.6 Tue Feb 22 03:47:34 2011
+++ rtems/testsuites/psxtests/psxhdrs/sync02.c Tue Oct 11 23:21:57 2011
</font><font color='#997700'>@@ -18,13 +18,15 @@
</font>
#include <unistd.h>
<font color='#880000'>-void test( void );
</font><font color='#000088'>+int test( void );
</font>
<font color='#880000'>-void test( void )
</font><font color='#000088'>+int test( void )
</font> {
int fd;
int result;
fd = 4;
result = fdatasync( fd );
<font color='#000088'>+
+ return result;
</font> }
</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>ralf</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-10-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/mouse/serial_mouse.c (serial_mouse_initialize):
Remove unused var "status" (Avoid warnings).
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2944&r2=text&tr2=1.2945&diff_format=h">M</a></td><td width='1%'>1.2945</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libmisc/mouse/serial_mouse.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%'>cpukit/libmisc/mouse/serial_mouse.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2944 rtems/cpukit/ChangeLog:1.2945
--- rtems/cpukit/ChangeLog:1.2944 Tue Oct 11 02:57:45 2011
+++ rtems/cpukit/ChangeLog Tue Oct 11 23:50:34 2011
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2011-10-12 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * libmisc/mouse/serial_mouse.c (serial_mouse_initialize):
+ Remove unused var "status" (Avoid warnings).
+
</font> 2011-10-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/termios.c,
<font color='#006600'>diff -u rtems/cpukit/libmisc/mouse/serial_mouse.c:1.2 rtems/cpukit/libmisc/mouse/serial_mouse.c:1.3
--- rtems/cpukit/libmisc/mouse/serial_mouse.c:1.2 Mon Mar 14 13:17:28 2011
+++ rtems/cpukit/libmisc/mouse/serial_mouse.c Tue Oct 11 23:50:34 2011
</font><font color='#997700'>@@ -55,9 +55,7 @@
</font> void *arg
)
{
<font color='#880000'>- bool status;
-
- status = bsp_get_serial_mouse_device(
</font><font color='#000088'>+ bsp_get_serial_mouse_device(
</font> &serial_mouse_device,
&serial_mouse_type
);
</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>