change log for rtems (2011-10-12)
rtems-vc at rtems.org
rtems-vc at rtems.org
Wed Oct 12 05:12:13 UTC 2011
*ralf*:
2011-10-12 Ralf Corsépius <ralf.corsepius at 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).
M 1.358 testsuites/psxtests/ChangeLog
M 1.11 testsuites/psxtests/psxhdrs/timer01.c
M 1.11 testsuites/psxtests/psxhdrs/timer02.c
M 1.12 testsuites/psxtests/psxhdrs/timer03.c
M 1.12 testsuites/psxtests/psxhdrs/timer04.c
M 1.12 testsuites/psxtests/psxhdrs/timer05.c
M 1.11 testsuites/psxtests/psxhdrs/timer06.c
M 1.6 testsuites/psxtests/psxhdrs/timer07.c
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
@@ -1,3 +1,9 @@
+2011-10-12 Ralf Corsépius <ralf.corsepius at 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).
+
2011-09-30 Ralf Corsépius <ralf.corsepius at rtems.org>
* psx01/init.c, psx07/init.c, psx09/init.c, psx12/init.c,
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
@@ -22,9 +22,9 @@
#error "rtems is supposed to have timer_create"
#endif
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
clockid_t clock_id = 0;
timer_t timerid = 0;
@@ -39,4 +39,6 @@
evp.sigev_value.sival_ptr = NULL;
result = timer_create( clock_id, &evp, &timerid );
+
+ return result;
}
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
@@ -22,12 +22,14 @@
#error "rtems is supposed to have timer_delete"
#endif
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
timer_t timerid = 0;
int result;
result = timer_delete( timerid );
+
+ return result;
}
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
@@ -22,9 +22,9 @@
#error "rtems is supposed to have timer_settime"
#endif
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
timer_t timerid = 0;
int flags;
@@ -41,4 +41,6 @@
flags = CLOCK_REALTIME;
result = timer_settime( timerid, flags, &value, &ovalue );
+
+ return result;
}
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
@@ -22,13 +22,15 @@
#error "rtems is supposed to have timer_gettime"
#endif
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
timer_t timerid = 0;
struct itimerspec value;
int result;
result = timer_gettime( timerid, &value );
+
+ return result;
}
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
@@ -22,12 +22,14 @@
#error "rtems is supposed to have timer_getoverrun"
#endif
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
timer_t timerid = 0;
int result;
result = timer_getoverrun( timerid );
+
+ return result;
}
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
@@ -22,9 +22,9 @@
#error "rtems is supposed to have nanosleep"
#endif
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
struct timespec rqtp;
struct timespec rmtp;
@@ -33,4 +33,6 @@
rqtp.tv_sec = 0;
rqtp.tv_nsec = 0;
result = nanosleep( &rqtp, &rmtp );
+
+ return result;
}
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
@@ -18,13 +18,15 @@
#include <unistd.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
useconds_t usec;
unsigned result;
usec = 0;
result = usleep( usec );
+
+ return result;
}
*ralf*:
2011-10-12 Ralf Corsépius <ralf.corsepius at 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).
M 1.359 testsuites/psxtests/ChangeLog
M 1.11 testsuites/psxtests/psxhdrs/time01.c
M 1.11 testsuites/psxtests/psxhdrs/time02.c
M 1.11 testsuites/psxtests/psxhdrs/time03.c
M 1.11 testsuites/psxtests/psxhdrs/time04.c
M 1.11 testsuites/psxtests/psxhdrs/time05.c
M 1.11 testsuites/psxtests/psxhdrs/time06.c
M 1.11 testsuites/psxtests/psxhdrs/time07.c
M 1.12 testsuites/psxtests/psxhdrs/time08.c
M 1.11 testsuites/psxtests/psxhdrs/time09.c
M 1.11 testsuites/psxtests/psxhdrs/time10.c
M 1.11 testsuites/psxtests/psxhdrs/time11.c
M 1.11 testsuites/psxtests/psxhdrs/time12.c
M 1.11 testsuites/psxtests/psxhdrs/time13.c
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
@@ -1,5 +1,10 @@
2011-10-12 Ralf Corsépius <ralf.corsepius at 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).
* 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).
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
@@ -18,11 +18,13 @@
#include <time.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
clock_t clock_ticks;
clock_ticks = clock();
+
+ return (clock_ticks != -1);
}
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
@@ -18,9 +18,9 @@
#include <time.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
time_t time1;
time_t time2;
@@ -30,4 +30,6 @@
time2 = 0;
difference = difftime( time1, time2 );
+
+ return (difference != 0.0);
}
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
@@ -18,9 +18,9 @@
#include <time.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
struct tm timestruct;
time_t time_encoded;
@@ -36,4 +36,6 @@
timestruct.tm_isdst = 0;
time_encoded = mktime( ×truct );
+
+ return (time_encoded != -1);
}
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
@@ -18,11 +18,13 @@
#include <time.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
time_t new_time;
new_time = time( &new_time );
+
+ return (new_time != -1);
}
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
@@ -18,9 +18,9 @@
#include <time.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
size_t length;
size_t max_length;
@@ -30,4 +30,6 @@
max_length = sizeof( buffer );
length = strftime( buffer, max_length, "%A", ×truct );
+
+ return (length != 0);
}
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
@@ -18,12 +18,14 @@
#include <time.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
char *buffer;
struct tm timestruct;
buffer = asctime( ×truct );
+
+ return (buffer != NULL);
}
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
@@ -18,12 +18,14 @@
#include <time.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
char *buffer;
time_t time;
buffer = ctime( &time );
+
+ return (buffer != NULL);
}
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
@@ -18,12 +18,14 @@
#include <time.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
time_t time;
struct tm *timestruct;
timestruct = gmtime( &time );
+
+ return (timestruct != NULL);
}
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
@@ -18,12 +18,14 @@
#include <time.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
time_t time;
struct tm *timestruct;
timestruct = localtime( &time );
+
+ return (timestruct != NULL);
}
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
@@ -18,13 +18,15 @@
#include <time.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
char *buffer_pointer;
struct tm timestruct;
char buffer[ 80 ];
buffer_pointer = asctime_r( ×truct, buffer );
+
+ return (buffer_pointer != NULL);
}
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
@@ -18,13 +18,15 @@
#include <time.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
char *buffer_pointer;
char buffer[ 80 ];
time_t time;
buffer_pointer = ctime_r( &time, buffer );
+
+ return (buffer_pointer != NULL);
}
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
@@ -18,13 +18,15 @@
#include <time.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
time_t time;
struct tm *timestruct_pointer;
struct tm timestruct;
timestruct_pointer = gmtime_r( &time, ×truct );
+
+ return (timestruct_pointer != NULL);
}
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
@@ -18,13 +18,15 @@
#include <time.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
time_t time;
struct tm *timestruct_pointer;
struct tm timestruct;
timestruct_pointer = localtime_r( &time, ×truct );
+
+ return (timestruct_pointer != NULL);
}
*ralf*:
2011-10-12 Ralf Corsépius <ralf.corsepius at rtems.org>
* psxhdrs/sync01.c, psxhdrs/sync02.c: Let test() return values
(avoid warnings).
M 1.360 testsuites/psxtests/ChangeLog
M 1.7 testsuites/psxtests/psxhdrs/sync01.c
M 1.7 testsuites/psxtests/psxhdrs/sync02.c
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
@@ -1,5 +1,7 @@
2011-10-12 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * psxhdrs/sync01.c, psxhdrs/sync02.c: Let test() return values
+ (avoid warnings).
* 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,
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
@@ -18,13 +18,15 @@
#include <unistd.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
int fd;
int result;
fd = 4;
result = fsync( fd );
+
+ return result;
}
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
@@ -18,13 +18,15 @@
#include <unistd.h>
-void test( void );
+int test( void );
-void test( void )
+int test( void )
{
int fd;
int result;
fd = 4;
result = fdatasync( fd );
+
+ return result;
}
*ralf*:
2011-10-12 Ralf Corsépius <ralf.corsepius at rtems.org>
* libmisc/mouse/serial_mouse.c (serial_mouse_initialize):
Remove unused var "status" (Avoid warnings).
M 1.2945 cpukit/ChangeLog
M 1.3 cpukit/libmisc/mouse/serial_mouse.c
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
@@ -1,3 +1,8 @@
+2011-10-12 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * libmisc/mouse/serial_mouse.c (serial_mouse_initialize):
+ Remove unused var "status" (Avoid warnings).
+
2011-10-11 Ralf Corsépius <ralf.corsepius at rtems.org>
* libcsupport/src/termios.c,
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
@@ -55,9 +55,7 @@
void *arg
)
{
- bool status;
-
- status = bsp_get_serial_mouse_device(
+ bsp_get_serial_mouse_device(
&serial_mouse_device,
&serial_mouse_type
);
--
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/20111012/aea6bfb5/attachment.html>
More information about the vc
mailing list