<!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-17)</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-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/sched01.c, psxhdrs/sched02.c, psxhdrs/sched03.c,
psxhdrs/sched04.c, psxhdrs/sched05.c, psxhdrs/sched06.c,
psxhdrs/sched07.c, psxhdrs/sched08.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.366&r2=text&tr2=1.367&diff_format=h">M</a></td><td width='1%'>1.367</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/sched01.c.diff?r1=text&tr1=1.13&r2=text&tr2=1.14&diff_format=h">M</a></td><td width='1%'>1.14</td><td width='100%'>testsuites/psxtests/psxhdrs/sched01.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/sched02.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/sched02.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/sched03.c.diff?r1=text&tr1=1.13&r2=text&tr2=1.14&diff_format=h">M</a></td><td width='1%'>1.14</td><td width='100%'>testsuites/psxtests/psxhdrs/sched03.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/sched04.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/sched04.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/sched05.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/sched05.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/sched06.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/psxhdrs/sched06.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/sched07.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/psxhdrs/sched07.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/sched08.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/sched08.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/psxtests/ChangeLog:1.366 rtems/testsuites/psxtests/ChangeLog:1.367
--- rtems/testsuites/psxtests/ChangeLog:1.366 Mon Oct 17 02:18:21 2011
+++ rtems/testsuites/psxtests/ChangeLog Mon Oct 17 04:53:17 2011
</font><font color='#997700'>@@ -1,5 +1,12 @@
</font> 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#000088'>+ * psxhdrs/sched01.c, psxhdrs/sched02.c, psxhdrs/sched03.c,
+ psxhdrs/sched04.c, psxhdrs/sched05.c, psxhdrs/sched06.c,
+ psxhdrs/sched07.c, psxhdrs/sched08.c:
+ Let test() return values (avoid warnings).
+
+2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
+
</font> * psxhdrs/signal01.c, psxhdrs/signal02.c, psxhdrs/signal03.c,
psxhdrs/signal04.c, psxhdrs/signal05.c, psxhdrs/signal06.c,
psxhdrs/signal07.c, psxhdrs/signal08.c, psxhdrs/signal09.c,
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/sched01.c:1.13 rtems/testsuites/psxtests/psxhdrs/sched01.c:1.14
--- rtems/testsuites/psxtests/psxhdrs/sched01.c:1.13 Tue Feb 22 03:47:33 2011
+++ rtems/testsuites/psxtests/psxhdrs/sched01.c Mon Oct 17 04:53:17 2011
</font><font color='#997700'>@@ -22,9 +22,9 @@
</font> #error "rtems is supposed to have sched_setparam"
#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;
struct sched_param param;
<font color='#997700'>@@ -46,4 +46,6 @@
</font> #endif
result = sched_setparam( pid, ¶m );
<font color='#000088'>+
+ return result;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/sched02.c:1.11 rtems/testsuites/psxtests/psxhdrs/sched02.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/sched02.c:1.11 Tue Feb 22 03:47:33 2011
+++ rtems/testsuites/psxtests/psxhdrs/sched02.c Mon Oct 17 04:53:17 2011
</font><font color='#997700'>@@ -22,9 +22,9 @@
</font> #error "rtems is supposed to have sched_getparam"
#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;
struct sched_param param;
<font color='#997700'>@@ -33,4 +33,6 @@
</font> pid = 0;
result = sched_getparam( pid, ¶m );
<font color='#000088'>+
+ return result;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/sched03.c:1.13 rtems/testsuites/psxtests/psxhdrs/sched03.c:1.14
--- rtems/testsuites/psxtests/psxhdrs/sched03.c:1.13 Tue Feb 22 03:47:33 2011
+++ rtems/testsuites/psxtests/psxhdrs/sched03.c Mon Oct 17 04:53:17 2011
</font><font color='#997700'>@@ -22,9 +22,9 @@
</font> #error "rtems is supposed to have sched_setscheduler"
#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;
int policy;
<font color='#997700'>@@ -54,4 +54,6 @@
</font> #endif
result = sched_setscheduler( pid, policy, ¶m );
<font color='#000088'>+
+ return result;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/sched04.c:1.11 rtems/testsuites/psxtests/psxhdrs/sched04.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/sched04.c:1.11 Tue Feb 22 03:47:33 2011
+++ rtems/testsuites/psxtests/psxhdrs/sched04.c Mon Oct 17 04:53:17 2011
</font><font color='#997700'>@@ -22,9 +22,9 @@
</font> #error "rtems is supposed to have sched_getscheduler"
#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;
int result;
<font color='#997700'>@@ -32,4 +32,6 @@
</font> pid = 0;
result = sched_getscheduler( pid );
<font color='#000088'>+
+ return result;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/sched05.c:1.11 rtems/testsuites/psxtests/psxhdrs/sched05.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/sched05.c:1.11 Tue Feb 22 03:47:33 2011
+++ rtems/testsuites/psxtests/psxhdrs/sched05.c Mon Oct 17 04:53:17 2011
</font><font color='#997700'>@@ -22,11 +22,13 @@
</font> #error "rtems is supposed to have sched_yield"
#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> {
int result;
result = sched_yield();
<font color='#000088'>+
+ return result;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/sched06.c:1.12 rtems/testsuites/psxtests/psxhdrs/sched06.c:1.13
--- rtems/testsuites/psxtests/psxhdrs/sched06.c:1.12 Tue Feb 22 03:47:33 2011
+++ rtems/testsuites/psxtests/psxhdrs/sched06.c Mon Oct 17 04:53:17 2011
</font><font color='#997700'>@@ -22,9 +22,9 @@
</font> #error "rtems is supposed to have sched_get_priority_max"
#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> {
int policy;
int result;
<font color='#997700'>@@ -37,4 +37,6 @@
</font> #endif
result = sched_get_priority_max( policy );
<font color='#000088'>+
+ return result;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/sched07.c:1.12 rtems/testsuites/psxtests/psxhdrs/sched07.c:1.13
--- rtems/testsuites/psxtests/psxhdrs/sched07.c:1.12 Tue Feb 22 03:47:33 2011
+++ rtems/testsuites/psxtests/psxhdrs/sched07.c Mon Oct 17 04:53:17 2011
</font><font color='#997700'>@@ -22,9 +22,9 @@
</font> #error "rtems is supposed to have sched_get_priority_min"
#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> {
int policy;
int result;
<font color='#997700'>@@ -37,4 +37,6 @@
</font> #endif
result = sched_get_priority_min( policy );
<font color='#000088'>+
+ return result;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/sched08.c:1.11 rtems/testsuites/psxtests/psxhdrs/sched08.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/sched08.c:1.11 Tue Feb 22 03:47:33 2011
+++ rtems/testsuites/psxtests/psxhdrs/sched08.c Mon Oct 17 04:53:17 2011
</font><font color='#997700'>@@ -22,9 +22,9 @@
</font> #error "rtems is supposed to have sched_rr_get_interval"
#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;
struct timespec interval;
<font color='#997700'>@@ -33,4 +33,6 @@
</font> pid = 0;
result = sched_rr_get_interval( pid, &interval );
<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>Remove whitespaces.
</pre></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.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</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.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</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.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</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.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</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/clock06.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/clock06.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/key01.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/psxhdrs/key01.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/key02.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/psxhdrs/key02.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/key03.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/psxhdrs/key03.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/key04.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/key04.c</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.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</td><td width='100%'>testsuites/psxtests/psxhdrs/timer01.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/clock01.c:1.11 rtems/testsuites/psxtests/psxhdrs/clock01.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/clock01.c:1.11 Sat Oct 15 00:31:25 2011
+++ rtems/testsuites/psxtests/psxhdrs/clock01.c Mon Oct 17 04:59:02 2011
</font><font color='#997700'>@@ -31,6 +31,6 @@
</font> int result;
result = clock_gettime( clock_id, &tp );
<font color='#880000'>-<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+
</font> return result;
}
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/clock02.c:1.11 rtems/testsuites/psxtests/psxhdrs/clock02.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/clock02.c:1.11 Sat Oct 15 00:31:25 2011
+++ rtems/testsuites/psxtests/psxhdrs/clock02.c Mon Oct 17 04:59:03 2011
</font><font color='#997700'>@@ -31,6 +31,6 @@
</font> int result;
result = clock_settime( clock_id, &tp );
<font color='#880000'>-<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+
</font> return result;
}
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/clock03.c:1.11 rtems/testsuites/psxtests/psxhdrs/clock03.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/clock03.c:1.11 Sat Oct 15 00:31:25 2011
+++ rtems/testsuites/psxtests/psxhdrs/clock03.c Mon Oct 17 04:59:03 2011
</font><font color='#997700'>@@ -31,6 +31,6 @@
</font> int result;
result = clock_getres( clock_id, &res );
<font color='#880000'>-<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+
</font> return result;
}
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/clock04.c:1.11 rtems/testsuites/psxtests/psxhdrs/clock04.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/clock04.c:1.11 Sat Oct 15 00:31:26 2011
+++ rtems/testsuites/psxtests/psxhdrs/clock04.c Mon Oct 17 04:59:03 2011
</font><font color='#997700'>@@ -31,6 +31,6 @@
</font> int result;
result = clock_getcpuclockid( pid, &clock_id );
<font color='#880000'>-<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+
</font> return result;
}
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/clock06.c:1.11 rtems/testsuites/psxtests/psxhdrs/clock06.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/clock06.c:1.11 Sat Oct 15 00:31:26 2011
+++ rtems/testsuites/psxtests/psxhdrs/clock06.c Mon Oct 17 04:59:03 2011
</font><font color='#997700'>@@ -34,6 +34,6 @@
</font> int result;
result = clock_getenable_attr( clock_id, &attr );
<font color='#880000'>-<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+
</font> return result;
}
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/key01.c:1.12 rtems/testsuites/psxtests/psxhdrs/key01.c:1.13
--- rtems/testsuites/psxtests/psxhdrs/key01.c:1.12 Sat Oct 15 04:19:50 2011
+++ rtems/testsuites/psxtests/psxhdrs/key01.c Mon Oct 17 04:59:03 2011
</font><font color='#997700'>@@ -37,6 +37,6 @@
</font> int result;
result = pthread_key_create( &key, key_destructor );
<font color='#880000'>-<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+
</font> return result;
}
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/key02.c:1.12 rtems/testsuites/psxtests/psxhdrs/key02.c:1.13
--- rtems/testsuites/psxtests/psxhdrs/key02.c:1.12 Sat Oct 15 04:19:50 2011
+++ rtems/testsuites/psxtests/psxhdrs/key02.c Mon Oct 17 04:59:03 2011
</font><font color='#997700'>@@ -34,6 +34,6 @@
</font> value = 0;
result = pthread_setspecific( key, &value );
<font color='#880000'>-<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+
</font> return result;
}
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/key03.c:1.12 rtems/testsuites/psxtests/psxhdrs/key03.c:1.13
--- rtems/testsuites/psxtests/psxhdrs/key03.c:1.12 Sat Oct 15 04:19:50 2011
+++ rtems/testsuites/psxtests/psxhdrs/key03.c Mon Oct 17 04:59:03 2011
</font><font color='#997700'>@@ -32,6 +32,6 @@
</font> key = 0;
value = pthread_getspecific( key );
<font color='#880000'>-<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+
</font> return (value != 0);
}
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/key04.c:1.11 rtems/testsuites/psxtests/psxhdrs/key04.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/key04.c:1.11 Sat Oct 15 04:19:50 2011
+++ rtems/testsuites/psxtests/psxhdrs/key04.c Mon Oct 17 04:59:03 2011
</font><font color='#997700'>@@ -30,6 +30,6 @@
</font> int result;
result = pthread_key_delete( key );
<font color='#880000'>-<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+
</font> return result;
}
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/timer01.c:1.11 rtems/testsuites/psxtests/psxhdrs/timer01.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/timer01.c:1.11 Tue Oct 11 23:15:32 2011
+++ rtems/testsuites/psxtests/psxhdrs/timer01.c Mon Oct 17 04:59:03 2011
</font><font color='#997700'>@@ -39,6 +39,6 @@
</font> evp.sigev_value.sival_ptr = NULL;
result = timer_create( clock_id, &evp, &timerid );
<font color='#880000'>-<span style="background-color: #FF0000"> </span>
</font><font color='#000088'>+
</font> return result;
}
</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-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/proc01.c, psxhdrs/proc02.c, psxhdrs/proc03.c,
psxhdrs/proc04.c, psxhdrs/proc05.c, psxhdrs/proc06.c,
psxhdrs/proc07.c, psxhdrs/proc08.c, psxhdrs/proc09.c,
psxhdrs/proc10.c, psxhdrs/proc11.c, psxhdrs/proc12.c,
psxhdrs/proc13.c, psxhdrs/proc14.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.367&r2=text&tr2=1.368&diff_format=h">M</a></td><td width='1%'>1.368</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/proc01.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/proc01.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/proc02.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/proc02.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/proc03.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/proc03.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/proc04.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/proc04.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/proc05.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/proc05.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/proc06.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/proc06.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/proc07.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/proc07.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/proc08.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/proc08.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/proc09.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/proc09.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/proc10.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/proc10.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/proc11.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/psxhdrs/proc11.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/proc12.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/proc12.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/proc13.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/proc13.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/psxtests/psxhdrs/proc14.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/psxhdrs/proc14.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/psxtests/ChangeLog:1.367 rtems/testsuites/psxtests/ChangeLog:1.368
--- rtems/testsuites/psxtests/ChangeLog:1.367 Mon Oct 17 04:53:17 2011
+++ rtems/testsuites/psxtests/ChangeLog Mon Oct 17 05:05:43 2011
</font><font color='#997700'>@@ -1,5 +1,14 @@
</font> 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
<font color='#000088'>+ * psxhdrs/proc01.c, psxhdrs/proc02.c, psxhdrs/proc03.c,
+ psxhdrs/proc04.c, psxhdrs/proc05.c, psxhdrs/proc06.c,
+ psxhdrs/proc07.c, psxhdrs/proc08.c, psxhdrs/proc09.c,
+ psxhdrs/proc10.c, psxhdrs/proc11.c, psxhdrs/proc12.c,
+ psxhdrs/proc13.c, psxhdrs/proc14.c:
+ Let test() return values (avoid warnings).
+
+2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
+
</font> * psxhdrs/sched01.c, psxhdrs/sched02.c, psxhdrs/sched03.c,
psxhdrs/sched04.c, psxhdrs/sched05.c, psxhdrs/sched06.c,
psxhdrs/sched07.c, psxhdrs/sched08.c:
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/proc01.c:1.11 rtems/testsuites/psxtests/psxhdrs/proc01.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/proc01.c:1.11 Tue Feb 22 03:47:33 2011
+++ rtems/testsuites/psxtests/psxhdrs/proc01.c Mon Oct 17 05:05:43 2011
</font><font color='#997700'>@@ -19,11 +19,13 @@
</font> #include <sys/types.h>
#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> {
pid_t pid;
pid = getpid();
<font color='#000088'>+
+ return pid;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/proc02.c:1.11 rtems/testsuites/psxtests/psxhdrs/proc02.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/proc02.c:1.11 Tue Feb 22 03:47:33 2011
+++ rtems/testsuites/psxtests/psxhdrs/proc02.c Mon Oct 17 05:05:43 2011
</font><font color='#997700'>@@ -19,11 +19,13 @@
</font> #include <sys/types.h>
#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> {
pid_t pid;
pid = getppid();
<font color='#000088'>+
+ return pid;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/proc03.c:1.11 rtems/testsuites/psxtests/psxhdrs/proc03.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/proc03.c:1.11 Tue Feb 22 03:47:33 2011
+++ rtems/testsuites/psxtests/psxhdrs/proc03.c Mon Oct 17 05:05:43 2011
</font><font color='#997700'>@@ -19,11 +19,13 @@
</font> #include <unistd.h>
#include <sys/types.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> {
uid_t uid;
uid = getuid();
<font color='#000088'>+
+ return uid;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/proc04.c:1.11 rtems/testsuites/psxtests/psxhdrs/proc04.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/proc04.c:1.11 Tue Feb 22 03:47:33 2011
+++ rtems/testsuites/psxtests/psxhdrs/proc04.c Mon Oct 17 05:05:43 2011
</font><font color='#997700'>@@ -19,11 +19,13 @@
</font> #include <unistd.h>
#include <sys/types.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> {
uid_t uid;
uid = geteuid();
<font color='#000088'>+
+ return uid;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/proc05.c:1.11 rtems/testsuites/psxtests/psxhdrs/proc05.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/proc05.c:1.11 Tue Feb 22 03:47:33 2011
+++ rtems/testsuites/psxtests/psxhdrs/proc05.c Mon Oct 17 05:05:43 2011
</font><font color='#997700'>@@ -19,11 +19,13 @@
</font> #include <unistd.h>
#include <sys/types.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> {
gid_t gid;
gid = getgid();
<font color='#000088'>+
+ return gid;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/proc06.c:1.11 rtems/testsuites/psxtests/psxhdrs/proc06.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/proc06.c:1.11 Tue Feb 22 03:47:33 2011
+++ rtems/testsuites/psxtests/psxhdrs/proc06.c Mon Oct 17 05:05:43 2011
</font><font color='#997700'>@@ -19,11 +19,13 @@
</font> #include <unistd.h>
#include <sys/types.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> {
gid_t gid;
gid = getegid();
<font color='#000088'>+
+ return gid;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/proc07.c:1.11 rtems/testsuites/psxtests/psxhdrs/proc07.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/proc07.c:1.11 Tue Feb 22 03:47:33 2011
+++ rtems/testsuites/psxtests/psxhdrs/proc07.c Mon Oct 17 05:05:43 2011
</font><font color='#997700'>@@ -19,9 +19,9 @@
</font> #include <sys/types.h>
#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> {
uid_t uid;
int result;
<font color='#997700'>@@ -29,4 +29,6 @@
</font> uid = 0;
result = setuid( uid );
<font color='#000088'>+
+ return result;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/proc08.c:1.11 rtems/testsuites/psxtests/psxhdrs/proc08.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/proc08.c:1.11 Tue Feb 22 03:47:33 2011
+++ rtems/testsuites/psxtests/psxhdrs/proc08.c Mon Oct 17 05:05:43 2011
</font><font color='#997700'>@@ -19,9 +19,9 @@
</font> #include <sys/types.h>
#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> {
gid_t gid;
int result;
<font color='#997700'>@@ -29,4 +29,6 @@
</font> gid = 0;
result = setgid( gid );
<font color='#000088'>+
+ return result;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/proc09.c:1.11 rtems/testsuites/psxtests/psxhdrs/proc09.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/proc09.c:1.11 Tue Feb 22 03:47:33 2011
+++ rtems/testsuites/psxtests/psxhdrs/proc09.c Mon Oct 17 05:05:43 2011
</font><font color='#997700'>@@ -19,9 +19,9 @@
</font> #include <sys/types.h>
#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> {
gid_t grouplist[ 20 ];
int gidsetsize;
<font color='#997700'>@@ -30,4 +30,6 @@
</font> gidsetsize = 20;
result = getgroups( gidsetsize, grouplist );
<font color='#000088'>+
+ return result;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/proc10.c:1.11 rtems/testsuites/psxtests/psxhdrs/proc10.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/proc10.c:1.11 Tue Feb 22 03:47:33 2011
+++ rtems/testsuites/psxtests/psxhdrs/proc10.c Mon Oct 17 05:05:43 2011
</font><font color='#997700'>@@ -19,11 +19,13 @@
</font> #include <sys/types.h>
#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> {
char *loginname;
loginname = getlogin();
<font color='#000088'>+
+ return (loginname == NULL) ? -1 : 0;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/proc11.c:1.12 rtems/testsuites/psxtests/psxhdrs/proc11.c:1.13
--- rtems/testsuites/psxtests/psxhdrs/proc11.c:1.12 Tue Feb 22 03:47:33 2011
+++ rtems/testsuites/psxtests/psxhdrs/proc11.c Mon Oct 17 05:05:43 2011
</font><font color='#997700'>@@ -20,12 +20,14 @@
</font> #include <unistd.h>
#include <limits.h> /* for LOGIN_NAME_MAX */
<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 loginnamebuffer[ LOGIN_NAME_MAX ];
int result;
result = getlogin_r( loginnamebuffer, LOGIN_NAME_MAX );
<font color='#000088'>+
+ return result;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/proc12.c:1.11 rtems/testsuites/psxtests/psxhdrs/proc12.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/proc12.c:1.11 Tue Feb 22 03:47:33 2011
+++ rtems/testsuites/psxtests/psxhdrs/proc12.c Mon Oct 17 05:05:44 2011
</font><font color='#997700'>@@ -19,11 +19,13 @@
</font> #include <sys/types.h>
#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> {
pid_t pgrp;
pgrp = getpgrp();
<font color='#000088'>+
+ return (pgrp == -1) ? -1 : 0;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/proc13.c:1.11 rtems/testsuites/psxtests/psxhdrs/proc13.c:1.12
--- rtems/testsuites/psxtests/psxhdrs/proc13.c:1.11 Tue Feb 22 03:47:33 2011
+++ rtems/testsuites/psxtests/psxhdrs/proc13.c Mon Oct 17 05:05:44 2011
</font><font color='#997700'>@@ -19,11 +19,13 @@
</font> #include <sys/types.h>
#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> {
pid_t pid;
pid = setsid();
<font color='#000088'>+
+ return (pid == -1) ? -1 : 0;
</font> }
<font color='#006600'>diff -u rtems/testsuites/psxtests/psxhdrs/proc14.c:1.12 rtems/testsuites/psxtests/psxhdrs/proc14.c:1.13
--- rtems/testsuites/psxtests/psxhdrs/proc14.c:1.12 Tue Feb 22 03:47:33 2011
+++ rtems/testsuites/psxtests/psxhdrs/proc14.c Mon Oct 17 05:05:44 2011
</font><font color='#997700'>@@ -19,13 +19,15 @@
</font> #include <sys/types.h>
#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> {
pid_t pid = 0;
pid_t pgid = 0;
int result;
result = setpgid( pid, pgid );
<font color='#000088'>+
+ 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>