change log for rtems (2011-10-15)

rtems-vc at rtems.org rtems-vc at rtems.org
Sat Oct 15 06:15:24 UTC 2011


 *ralf*:
2011-10-15	Ralf Corsépius <ralf.corsepius at 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).

M  1.364  testsuites/psxtests/ChangeLog
M   1.11  testsuites/psxtests/psxhdrs/clock01.c
M   1.11  testsuites/psxtests/psxhdrs/clock02.c
M   1.11  testsuites/psxtests/psxhdrs/clock03.c
M   1.11  testsuites/psxtests/psxhdrs/clock04.c
M   1.11  testsuites/psxtests/psxhdrs/clock05.c
M   1.11  testsuites/psxtests/psxhdrs/clock06.c

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
@@ -1,3 +1,9 @@
+2011-10-15	Ralf Corsépius <ralf.corsepius at 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).
+
 2011-10-13	Ralf Corsépius <ralf.corsepius at rtems.org>
 
 	* psxhdrs/signal23.c: Add comment to denote test as obsolete.

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
@@ -22,13 +22,15 @@
 #error "rtems is supposed to have clock_gettime"
 #endif
 
-void test( void );
+int test( void );
 
-void test( void )
+int test( void )
 {
   clockid_t        clock_id = 0;
   struct timespec  tp;
   int              result;
 
   result = clock_gettime( clock_id, &tp );
+  
+  return result;
 }

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
@@ -22,13 +22,15 @@
 #error "rtems is supposed to have clock_settime"
 #endif
 
-void test( void );
+int test( void );
 
-void test( void )
+int test( void )
 {
   clockid_t        clock_id = 0;
   struct timespec  tp;
   int              result;
 
   result = clock_settime( clock_id, &tp );
+  
+  return result;
 }

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
@@ -22,13 +22,15 @@
 #error "rtems is supposed to have clock_getres"
 #endif
 
-void test( void );
+int test( void );
 
-void test( void )
+int test( void )
 {
   clockid_t        clock_id = 0;
   struct timespec  res;
   int              result;
 
   result = clock_getres( clock_id, &res );
+  
+  return result;
 }

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
@@ -22,13 +22,15 @@
 #error "rtems is supposed to have clock_getcpuclockid"
 #endif
 
-void test( void );
+int test( void );
 
-void test( void )
+int test( void )
 {
   pid_t      pid = 0;
   clockid_t  clock_id;
   int        result;
 
   result = clock_getcpuclockid( pid, &clock_id );
+  
+  return result;
 }

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
@@ -25,9 +25,9 @@
 #error "rtems is supposed to have clock_setenable_attr"
 #endif
 
-void test( void );
+int test( void );
 
-void test( void )
+int test( void )
 {
   clockid_t  clock_id = 0;
   int        attr;
@@ -37,4 +37,6 @@
   attr = CLOCK_DISABLED;
 
   result = clock_setenable_attr( clock_id, attr );
+
+  return result;
 }

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
@@ -25,13 +25,15 @@
 #error "rtems is supposed to have clock_getenable_attr"
 #endif
 
-void test( void );
+int test( void );
 
-void test( void )
+int test( void )
 {
   clockid_t  clock_id = 0;
   int        attr;
   int        result;
 
   result = clock_getenable_attr( clock_id, &attr );
+  
+  return result;
 }



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20111015/97d67067/attachment.html>


More information about the vc mailing list