<!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-15)</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-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/clock01.c, psxhdrs/clock02.c, psxhdrs/clock03.c,
psxhdrs/clock04.c, psxhdrs/clock05.c, psxhdrs/clock06.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.363&r2=text&tr2=1.364&diff_format=h">M</a></td><td width='1%'>1.364</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/clock01.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/clock01.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/clock02.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/clock02.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/clock03.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/clock03.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/clock04.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/clock04.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/clock05.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/clock05.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/clock06.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/clock06.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/psxtests/ChangeLog:1.363 rtems/testsuites/psxtests/ChangeLog:1.364
--- rtems/testsuites/psxtests/ChangeLog:1.363 Thu Oct 13 12:20:10 2011
+++ rtems/testsuites/psxtests/ChangeLog Sat Oct 15 00:31:25 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * psxhdrs/clock01.c, psxhdrs/clock02.c, psxhdrs/clock03.c,
+ psxhdrs/clock04.c, psxhdrs/clock05.c, psxhdrs/clock06.c:
+ Let test() return values (avoid warnings).
+
</font> 2011-10-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/signal23.c: Add comment to denote test as obsolete.
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/clock01.c:1.10 rtems/testsuites/psxtests/psxhdrs/clock01.c:1.11
--- rtems/testsuites/psxtests/psxhdrs/clock01.c:1.10 Tue Feb 22 03:47:32 2011
+++ rtems/testsuites/psxtests/psxhdrs/clock01.c Sat Oct 15 00:31:25 2011
</font><font color='#997700'>@@ -22,13 +22,15 @@
</font> #error "rtems is supposed to have clock_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> {
clockid_t clock_id = 0;
struct timespec tp;
int result;
result = clock_gettime( clock_id, &tp );
<font color='#000088'>+<span style="background-color: #FF0000"> </span>
+ return result;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/clock02.c:1.10 rtems/testsuites/psxtests/psxhdrs/clock02.c:1.11
--- rtems/testsuites/psxtests/psxhdrs/clock02.c:1.10 Tue Feb 22 03:47:32 2011
+++ rtems/testsuites/psxtests/psxhdrs/clock02.c Sat Oct 15 00:31:25 2011
</font><font color='#997700'>@@ -22,13 +22,15 @@
</font> #error "rtems is supposed to have clock_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> {
clockid_t clock_id = 0;
struct timespec tp;
int result;
result = clock_settime( clock_id, &tp );
<font color='#000088'>+<span style="background-color: #FF0000"> </span>
+ return result;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/clock03.c:1.10 rtems/testsuites/psxtests/psxhdrs/clock03.c:1.11
--- rtems/testsuites/psxtests/psxhdrs/clock03.c:1.10 Tue Feb 22 03:47:32 2011
+++ rtems/testsuites/psxtests/psxhdrs/clock03.c Sat Oct 15 00:31:25 2011
</font><font color='#997700'>@@ -22,13 +22,15 @@
</font> #error "rtems is supposed to have clock_getres"
#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;
struct timespec res;
int result;
result = clock_getres( clock_id, &res );
<font color='#000088'>+<span style="background-color: #FF0000"> </span>
+ return result;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/clock04.c:1.10 rtems/testsuites/psxtests/psxhdrs/clock04.c:1.11
--- rtems/testsuites/psxtests/psxhdrs/clock04.c:1.10 Tue Feb 22 03:47:32 2011
+++ rtems/testsuites/psxtests/psxhdrs/clock04.c Sat Oct 15 00:31:26 2011
</font><font color='#997700'>@@ -22,13 +22,15 @@
</font> #error "rtems is supposed to have clock_getcpuclockid"
#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> {
pid_t pid = 0;
clockid_t clock_id;
int result;
result = clock_getcpuclockid( pid, &clock_id );
<font color='#000088'>+<span style="background-color: #FF0000"> </span>
+ return result;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/clock05.c:1.10 rtems/testsuites/psxtests/psxhdrs/clock05.c:1.11
--- rtems/testsuites/psxtests/psxhdrs/clock05.c:1.10 Tue Feb 22 03:47:32 2011
+++ rtems/testsuites/psxtests/psxhdrs/clock05.c Sat Oct 15 00:31:26 2011
</font><font color='#997700'>@@ -25,9 +25,9 @@
</font> #error "rtems is supposed to have clock_setenable_attr"
#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;
int attr;
<font color='#997700'>@@ -37,4 +37,6 @@
</font> attr = CLOCK_DISABLED;
result = clock_setenable_attr( clock_id, attr );
<font color='#000088'>+
+ return result;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/clock06.c:1.10 rtems/testsuites/psxtests/psxhdrs/clock06.c:1.11
--- rtems/testsuites/psxtests/psxhdrs/clock06.c:1.10 Tue Feb 22 03:47:32 2011
+++ rtems/testsuites/psxtests/psxhdrs/clock06.c Sat Oct 15 00:31:26 2011
</font><font color='#997700'>@@ -25,13 +25,15 @@
</font> #error "rtems is supposed to have clock_getenable_attr"
#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;
int attr;
int result;
result = clock_getenable_attr( clock_id, &attr );
<font color='#000088'>+<span style="background-color: #FF0000"> </span>
+ return result;
</font> }
</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>