change log for rtems (2011-09-29)
rtems-vc at rtems.org
rtems-vc at rtems.org
Fri Sep 30 03:10:34 UTC 2011
*ralf*:
2011-09-30 Ralf Corsépius <ralf.corsepius at rtems.org>
* support/include/pritime.h: New.
* Makefile.am: Add support/include/pritime.h
M 1.189 testsuites/ChangeLog
M 1.14 testsuites/Makefile.am
A 1.1 testsuites/support/include/pritime.h
diff -u rtems/testsuites/ChangeLog:1.188 rtems/testsuites/ChangeLog:1.189
--- rtems/testsuites/ChangeLog:1.188 Fri Jul 29 08:48:15 2011
+++ rtems/testsuites/ChangeLog Thu Sep 29 21:31:25 2011
@@ -1,3 +1,8 @@
+2011-09-30 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * support/include/pritime.h: New.
+ * Makefile.am: Add support/include/pritime.h
+
2011-07-29 Jennifer Averett <Jennifer.Averett at OARcorp.com>
* support/include/test_support.h: Fixed incorrect name in prototype.
diff -u rtems/testsuites/Makefile.am:1.13 rtems/testsuites/Makefile.am:1.14
--- rtems/testsuites/Makefile.am:1.13 Sat Oct 24 00:40:26 2009
+++ rtems/testsuites/Makefile.am Thu Sep 29 21:31:25 2011
@@ -11,6 +11,7 @@
noinst_HEADERS += support/include/buffer_test_io.h
noinst_HEADERS += support/include/test_support.h
noinst_HEADERS += support/include/tmacros.h
+noinst_HEADERS += support/include/pritime.h
SUBDIRS = @subdirs@
diff -u /dev/null rtems/testsuites/support/include/pritime.h:1.1
--- /dev/null Thu Sep 29 22:10:32 2011
+++ rtems/testsuites/support/include/pritime.h Thu Sep 29 21:31:25 2011
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2011 by
+ * Ralf Corsépius, Ulm, Germany. All rights reserved.
+ *
+ * Permission to use, copy, modify, and distribute this software
+ * is freely granted, provided that this notice is preserved.
+ */
+
+/*
+ * Helper macro to print "time_t"
+ */
+
+#ifndef _PRITIME_H
+#define _PRITIME_H
+
+#include <inttypes.h>
+
+#ifndef SIZEOF_TIME_T
+#error "missing SIZEOF_TIME_T"
+#endif
+
+#if SIZEOF_TIME_T == 8
+#define PRIdtime_t PRId64
+#elif SIZEOF_TIME_T == 4
+#define PRIdtime_t PRId32
+#else
+#error "unsupported size of time_t"
+#endif
+
+#endif
*ralf*:
2011-09-30 Ralf Corsépius <ralf.corsepius at rtems.org>
* sp50/init.c, spclockget/init.c: Include "pritime.h".
Use PRIdtime_t to print time_t.
M 1.494 testsuites/sptests/ChangeLog
M 1.7 testsuites/sptests/sp50/init.c
M 1.8 testsuites/sptests/spclockget/init.c
diff -u rtems/testsuites/sptests/ChangeLog:1.493 rtems/testsuites/sptests/ChangeLog:1.494
--- rtems/testsuites/sptests/ChangeLog:1.493 Thu Sep 29 20:55:27 2011
+++ rtems/testsuites/sptests/ChangeLog Thu Sep 29 21:50:48 2011
@@ -1,5 +1,10 @@
2011-09-30 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * sp50/init.c, spclockget/init.c: Include "pritime.h".
+ Use PRIdtime_t to print time_t.
+
+2011-09-30 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* configure.ac: Check for size of time_t.
2011-09-29 Ralf Corsépius <ralf.corsepius at rtems.org>
diff -u rtems/testsuites/sptests/sp50/init.c:1.6 rtems/testsuites/sptests/sp50/init.c:1.7
--- rtems/testsuites/sptests/sp50/init.c:1.6 Thu May 5 11:45:57 2011
+++ rtems/testsuites/sptests/sp50/init.c Thu Sep 29 21:50:48 2011
@@ -14,6 +14,7 @@
#endif
#include <tmacros.h>
+#include "pritime.h"
volatile int Fired;
volatile bool timerRan;
@@ -70,7 +71,7 @@
sc = rtems_clock_get_uptime( &uptime );
directive_failed( sc, "rtems_clock_get_uptime" );
- printf( "Timer fired at %" PRItime_t "\n", uptime.tv_sec );
+ printf( "Timer fired at %" PRIdtime_t "\n", uptime.tv_sec );
}
if ( Fired >= 10 ) {
diff -u rtems/testsuites/sptests/spclockget/init.c:1.7 rtems/testsuites/sptests/spclockget/init.c:1.8
--- rtems/testsuites/sptests/spclockget/init.c:1.7 Sun Jul 24 17:10:20 2011
+++ rtems/testsuites/sptests/spclockget/init.c Thu Sep 29 21:50:48 2011
@@ -14,6 +14,7 @@
#endif
#include <tmacros.h>
+#include "pritime.h"
rtems_task Init(
rtems_task_argument ignored
@@ -69,7 +70,7 @@
sc = rtems_clock_get( RTEMS_CLOCK_GET_TIME_VALUE, &timev );
directive_failed( sc, "rtems_clock_get -- Time Value" );
printf(
- "Init - rtems_clock_get - Time Value = %" PRItime_t "\n",
+ "Init - rtems_clock_get - Time Value = %" PRIdtime_t "\n",
timev.tv_sec
);
*ralf*:
2011-09-30 Ralf Corsépius <ralf.corsepius at rtems.org>
* psx01/init.c, psx07/init.c, psx09/init.c, psx12/init.c,
psxclock/init.c, psxtimer01/psxtimer.c: Include "pritime.h".
Use PRIdtime_t to print time_t.
M 1.357 testsuites/psxtests/ChangeLog
M 1.41 testsuites/psxtests/psx01/init.c
M 1.38 testsuites/psxtests/psx07/init.c
M 1.20 testsuites/psxtests/psx09/init.c
M 1.18 testsuites/psxtests/psx12/init.c
M 1.13 testsuites/psxtests/psxclock/init.c
M 1.15 testsuites/psxtests/psxtimer01/psxtimer.c
diff -u rtems/testsuites/psxtests/ChangeLog:1.356 rtems/testsuites/psxtests/ChangeLog:1.357
--- rtems/testsuites/psxtests/ChangeLog:1.356 Thu Sep 29 20:54:51 2011
+++ rtems/testsuites/psxtests/ChangeLog Thu Sep 29 21:53:32 2011
@@ -1,5 +1,11 @@
2011-09-30 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * psx01/init.c, psx07/init.c, psx09/init.c, psx12/init.c,
+ psxclock/init.c, psxtimer01/psxtimer.c: Include "pritime.h".
+ Use PRIdtime_t to print time_t.
+
+2011-09-30 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* configure.ac: Check for size of time_t.
2011-09-30 Ralf Corsépius <ralf.corsepius at rtems.org>
diff -u rtems/testsuites/psxtests/psx01/init.c:1.40 rtems/testsuites/psxtests/psx01/init.c:1.41
--- rtems/testsuites/psxtests/psx01/init.c:1.40 Tue Feb 22 03:47:30 2011
+++ rtems/testsuites/psxtests/psx01/init.c Thu Sep 29 21:53:32 2011
@@ -13,11 +13,13 @@
#include "config.h"
#endif
-#define CONFIGURE_INIT
-#include "system.h"
#include <sched.h>
#include <sys/utsname.h>
+#define CONFIGURE_INIT
+#include "system.h"
+#include "pritime.h"
+
void *POSIX_Init(
void *argument
)
@@ -87,7 +89,7 @@
status = sched_rr_get_interval( getpid(), &tr );
printf(
- "Init: Round Robin quantum is %ld seconds, %ld nanoseconds\n",
+ "Init: Round Robin quantum is %" PRIdtime_t " seconds, %ld nanoseconds\n",
tr.tv_sec,
tr.tv_nsec
);
diff -u rtems/testsuites/psxtests/psx07/init.c:1.37 rtems/testsuites/psxtests/psx07/init.c:1.38
--- rtems/testsuites/psxtests/psx07/init.c:1.37 Tue Feb 22 03:47:31 2011
+++ rtems/testsuites/psxtests/psx07/init.c Thu Sep 29 21:53:32 2011
@@ -32,6 +32,7 @@
#include "system.h"
#include <errno.h>
#include "tmacros.h"
+#include "pritime.h"
void print_schedparam(
char *prefix,
@@ -47,10 +48,10 @@
#if defined(_POSIX_SPORADIC_SERVER)
printf( "%ssched_ss_low_priority = %d\n",
prefix, schedparam->sched_ss_low_priority );
- printf( "%ssched_ss_replenish_period = (%ld, %ld)\n", prefix,
+ printf( "%ssched_ss_replenish_period = (%" PRIdtime_t ", %ld)\n", prefix,
schedparam->sched_ss_repl_period.tv_sec,
schedparam->sched_ss_repl_period.tv_nsec );
- printf( "%ssched_sched_ss_initial_budget = (%ld, %ld)\n", prefix,
+ printf( "%ssched_sched_ss_initial_budget = (%" PRIdtime_t ", %ld)\n", prefix,
schedparam->sched_ss_init_budget.tv_sec,
schedparam->sched_ss_init_budget.tv_nsec );
#else
diff -u rtems/testsuites/psxtests/psx09/init.c:1.19 rtems/testsuites/psxtests/psx09/init.c:1.20
--- rtems/testsuites/psxtests/psx09/init.c:1.19 Tue Feb 22 03:47:31 2011
+++ rtems/testsuites/psxtests/psx09/init.c Thu Sep 29 21:53:32 2011
@@ -18,6 +18,7 @@
#define CONFIGURE_INIT
#include "system.h"
#include <errno.h>
+#include "pritime.h"
void print_schedparam(
char *prefix,
@@ -37,10 +38,10 @@
#if defined(_POSIX_SPORADIC_SERVER)
printf( "%ssched_ss_low_priority = %d\n",
prefix, schedparam->sched_ss_low_priority );
- printf( "%ssched_ss_repl_period = (%ld, %ld)\n", prefix,
+ printf( "%ssched_ss_repl_period = (%" PRIdtime_t ", %ld)\n", prefix,
schedparam->sched_ss_repl_period.tv_sec,
schedparam->sched_ss_repl_period.tv_nsec );
- printf( "%ssched_ss_init_budget = (%ld, %ld)\n", prefix,
+ printf( "%ssched_ss_init_budget = (%" PRIdtime_t ", %ld)\n", prefix,
schedparam->sched_ss_init_budget.tv_sec,
schedparam->sched_ss_init_budget.tv_nsec );
#else
diff -u rtems/testsuites/psxtests/psx12/init.c:1.17 rtems/testsuites/psxtests/psx12/init.c:1.18
--- rtems/testsuites/psxtests/psx12/init.c:1.17 Tue Feb 22 03:47:31 2011
+++ rtems/testsuites/psxtests/psx12/init.c Thu Sep 29 21:53:32 2011
@@ -18,6 +18,7 @@
#define CONFIGURE_INIT
#include "system.h"
#include <errno.h>
+#include "pritime.h"
void print_schedparam(
char *prefix,
@@ -33,10 +34,10 @@
#if defined(_POSIX_SPORADIC_SERVER)
printf( "%ssched_ss_low_priority = %d\n",
prefix, schedparam->sched_ss_low_priority );
- printf( "%ssched_ss_repl_period = (%ld, %ld)\n", prefix,
+ printf( "%ssched_ss_repl_period = (%" PRIdtime_t ", %ld)\n", prefix,
schedparam->sched_ss_repl_period.tv_sec,
schedparam->sched_ss_repl_period.tv_nsec );
- printf( "%ssched_ss_init_budget = (%ld, %ld)\n", prefix,
+ printf( "%ssched_ss_init_budget = (%" PRIdtime_t ", %ld)\n", prefix,
schedparam->sched_ss_init_budget.tv_sec,
schedparam->sched_ss_init_budget.tv_nsec );
#else
diff -u rtems/testsuites/psxtests/psxclock/init.c:1.12 rtems/testsuites/psxtests/psxclock/init.c:1.13
--- rtems/testsuites/psxtests/psxclock/init.c:1.12 Wed May 18 00:19:30 2011
+++ rtems/testsuites/psxtests/psxclock/init.c Thu Sep 29 21:53:32 2011
@@ -13,10 +13,12 @@
#include "config.h"
#endif
-#include <pmacros.h>
#include <time.h>
#include <errno.h>
+#include "pmacros.h"
+#include "pritime.h"
+
void check_enosys(int status);
void check_enosys(int status)
@@ -84,7 +86,7 @@
puts( "Init: clock_getres - SUCCESSFUL" );
sc = clock_getres( CLOCK_REALTIME, &tv );
- printf( "Init: resolution = sec (%ld), nsec (%ld)\n", tv.tv_sec, tv.tv_nsec );
+ printf( "Init: resolution = sec (%" PRIdtime_t "), nsec (%ld)\n", tv.tv_sec, tv.tv_nsec );
rtems_test_assert( !sc );
/* set the time of day, and print our buffer in multiple ways */
@@ -114,7 +116,7 @@
/* print new times to make sure it has changed and we can get the realtime */
sc = clock_gettime( CLOCK_PROCESS_CPUTIME_ID, &tv );
rtems_test_assert( !sc );
- printf("Time since boot: (%" PRItime_t ", %ld)\n", tv.tv_sec,tv.tv_nsec );
+ printf("Time since boot: (%" PRIdtime_t ", %ld)\n", tv.tv_sec,tv.tv_nsec );
sc = clock_gettime( CLOCK_REALTIME, &tv );
rtems_test_assert( !sc );
@@ -207,7 +209,7 @@
/* check the time remaining */
- printf( "Init: sec (%ld), nsec (%ld) remaining\n", tr.tv_sec, tr.tv_nsec );
+ printf( "Init: sec (%" PRIdtime_t "), nsec (%ld) remaining\n", tr.tv_sec, tr.tv_nsec );
rtems_test_assert( !tr.tv_sec && !tr.tv_nsec );
puts( "Init: nanosleep - 1.35 seconds" );
diff -u rtems/testsuites/psxtests/psxtimer01/psxtimer.c:1.14 rtems/testsuites/psxtests/psxtimer01/psxtimer.c:1.15
--- rtems/testsuites/psxtests/psxtimer01/psxtimer.c:1.14 Tue Feb 22 03:47:36 2011
+++ rtems/testsuites/psxtests/psxtimer01/psxtimer.c Thu Sep 29 21:53:32 2011
@@ -35,6 +35,7 @@
#include <time.h> /* time facilities */
#include <stdio.h> /* console facilities */
#include <rtems/score/timespec.h>
+#include "pritime.h"
void StopTimer(
timer_t timer_id,
@@ -125,7 +126,7 @@
rtems_test_exit(0);
}
printf(
- "task A: timer_settime - value=%" PRItime_t ":%ld interval=%" PRItime_t ":%ld\n",
+ "task A: timer_settime - value=%" PRIdtime_t ":%ld interval=%" PRIdtime_t ":%ld\n",
timergetdata.it_value.tv_sec, timergetdata.it_value.tv_nsec,
timergetdata.it_interval.tv_sec, timergetdata.it_interval.tv_nsec
);
@@ -311,7 +312,7 @@
rtems_test_exit(0);
}
printf(
- "task C: timer_gettime - %" PRItime_t ":%ld remaining from %" PRItime_t ":%ld\n",
+ "task C: timer_gettime - %" PRIdtime_t ":%ld remaining from %" PRIdtime_t ":%ld\n",
timergetdata.it_value.tv_sec, timergetdata.it_value.tv_nsec,
timergetdata.it_interval.tv_sec, timergetdata.it_interval.tv_nsec
);
*ralf*:
2011-09-30 Ralf Corsépius <ralf.corsepius at rtems.org>
* nsecs/init.c: Include "pritime.h".
Use PRIdtime_t to print time_t.
M 1.196 testsuites/samples/ChangeLog
M 1.16 testsuites/samples/nsecs/init.c
diff -u rtems/testsuites/samples/ChangeLog:1.195 rtems/testsuites/samples/ChangeLog:1.196
--- rtems/testsuites/samples/ChangeLog:1.195 Thu Sep 29 20:55:12 2011
+++ rtems/testsuites/samples/ChangeLog Thu Sep 29 21:55:30 2011
@@ -1,5 +1,10 @@
2011-09-30 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * nsecs/init.c: Include "pritime.h".
+ Use PRIdtime_t to print time_t.
+
+2011-09-30 Ralf Corsépius <ralf.corsepius at rtems.org>
+
* configure.ac: Check for size of time_t.
2011-09-16 Sebastian Huber <Sebastian.Huber at embedded-brains.de>
diff -u rtems/testsuites/samples/nsecs/init.c:1.15 rtems/testsuites/samples/nsecs/init.c:1.16
--- rtems/testsuites/samples/nsecs/init.c:1.15 Thu May 5 11:45:40 2011
+++ rtems/testsuites/samples/nsecs/init.c Thu Sep 29 21:55:30 2011
@@ -26,7 +26,9 @@
#include <unistd.h>
#include <sys/time.h>
#include <rtems/score/timespec.h> /* _Timespec_Substract */
+
#include "tmacros.h"
+#include "pritime.h"
char *my_ctime( time_t t )
{
@@ -92,7 +94,7 @@
my_ctime(stop.tv_sec), stop.tv_nsec
);
- printf( " --> %" PRItime_t ":%ld\n", diff.tv_sec, diff.tv_nsec );
+ printf( " --> %" PRIdtime_t ":%ld\n", diff.tv_sec, diff.tv_nsec );
}
/*
@@ -106,7 +108,7 @@
rtems_clock_get_uptime( &stop );
subtract_em( &start, &stop, &diff );
- printf( "%" PRItime_t ":%ld %" PRItime_t ":%ld --> %" PRItime_t ":%ld\n",
+ printf( "%" PRIdtime_t ":%ld %" PRIdtime_t ":%ld --> %" PRIdtime_t ":%ld\n",
start.tv_sec, start.tv_nsec,
stop.tv_sec, stop.tv_nsec,
diff.tv_sec, diff.tv_nsec
@@ -127,7 +129,7 @@
rtems_clock_get_uptime( &stop );
subtract_em( &start, &stop, &diff );
- printf( "loop of %d %" PRItime_t ":%ld %" PRItime_t ":%ld --> %" PRItime_t ":%ld\n",
+ printf( "loop of %d %" PRIdtime_t ":%ld %" PRIdtime_t ":%ld --> %" PRIdtime_t ":%ld\n",
max,
start.tv_sec, start.tv_nsec,
stop.tv_sec, stop.tv_nsec,
*ralf*:
2011-09-30 Ralf Corsépius <ralf.corsepius at rtems.org>
* support/include/tmacros.h: Remove PRItime_t.
M 1.190 testsuites/ChangeLog
M 1.58 testsuites/support/include/tmacros.h
diff -u rtems/testsuites/ChangeLog:1.189 rtems/testsuites/ChangeLog:1.190
--- rtems/testsuites/ChangeLog:1.189 Thu Sep 29 21:31:25 2011
+++ rtems/testsuites/ChangeLog Thu Sep 29 21:58:15 2011
@@ -1,5 +1,8 @@
2011-09-30 Ralf Corsépius <ralf.corsepius at rtems.org>
+ * support/include/tmacros.h: Remove PRItime_t.
+
+2011-09-30 Ralf Corsépius <ralf.corsepius at rtems.org>
* support/include/pritime.h: New.
* Makefile.am: Add support/include/pritime.h
diff -u rtems/testsuites/support/include/tmacros.h:1.57 rtems/testsuites/support/include/tmacros.h:1.58
--- rtems/testsuites/support/include/tmacros.h:1.57 Fri Jul 1 09:28:03 2011
+++ rtems/testsuites/support/include/tmacros.h Thu Sep 29 21:58:15 2011
@@ -273,10 +273,6 @@
* certain system types on different targets.
*/
-/* HACK: Presume time_t to be a "long" */
-/* HACK: There is no portable way to print time_t's */
-#define PRItime_t "ld"
-
#if defined(RTEMS_USE_16_BIT_OBJECT)
#define PRIxrtems_id PRIx16
#else
*ralf*:
2011-09-30 Ralf Corsépius <ralf.corsepius at rtems.org>
* fserror/test.c, fslink/test.c, fspatheval/test.c,
fspermission/test.c, fsrdwr/init.c, fssymlink/test.c,
fstime/test.c, support/fstest_support.c, support/ramdisk_support.c:
Explicitly include "pmacros.h".
* support/fstest.h: Don't include "pmacros.h".
M 1.11 testsuites/fstests/ChangeLog
M 1.5 testsuites/fstests/fserror/test.c
M 1.6 testsuites/fstests/fslink/test.c
M 1.4 testsuites/fstests/fspatheval/test.c
M 1.5 testsuites/fstests/fspermission/test.c
M 1.5 testsuites/fstests/fsrdwr/init.c
M 1.6 testsuites/fstests/fssymlink/test.c
M 1.5 testsuites/fstests/fstime/test.c
M 1.7 testsuites/fstests/support/fstest.h
M 1.6 testsuites/fstests/support/fstest_support.c
M 1.6 testsuites/fstests/support/ramdisk_support.c
diff -u rtems/testsuites/fstests/ChangeLog:1.10 rtems/testsuites/fstests/ChangeLog:1.11
--- rtems/testsuites/fstests/ChangeLog:1.10 Wed Sep 7 02:43:15 2011
+++ rtems/testsuites/fstests/ChangeLog Thu Sep 29 22:07:03 2011
@@ -1,3 +1,11 @@
+2011-09-30 Ralf Corsépius <ralf.corsepius at rtems.org>
+
+ * fserror/test.c, fslink/test.c, fspatheval/test.c,
+ fspermission/test.c, fsrdwr/init.c, fssymlink/test.c,
+ fstime/test.c, support/fstest_support.c, support/ramdisk_support.c:
+ Explicitly include "pmacros.h".
+ * support/fstest.h: Don't include "pmacros.h".
+
2011-09-07 Ralf Corsépius <ralf.corsepius at rtems.org>
* imfs_support/fs_supprot.h, support/fstest.h,
diff -u rtems/testsuites/fstests/fserror/test.c:1.4 rtems/testsuites/fstests/fserror/test.c:1.5
--- rtems/testsuites/fstests/fserror/test.c:1.4 Wed Sep 7 02:42:12 2011
+++ rtems/testsuites/fstests/fserror/test.c Thu Sep 29 22:07:21 2011
@@ -24,6 +24,7 @@
#include <unistd.h>
#include "fstest.h"
+#include "pmacros.h"
void open_mkdir_error (void)
{
diff -u rtems/testsuites/fstests/fslink/test.c:1.5 rtems/testsuites/fstests/fslink/test.c:1.6
--- rtems/testsuites/fstests/fslink/test.c:1.5 Wed Sep 7 02:42:12 2011
+++ rtems/testsuites/fstests/fslink/test.c Thu Sep 29 22:07:21 2011
@@ -25,6 +25,7 @@
#include <math.h>
#include "fstest.h"
+#include "pmacros.h"
/*
* Test if the successful call works as expect
diff -u rtems/testsuites/fstests/fspatheval/test.c:1.3 rtems/testsuites/fstests/fspatheval/test.c:1.4
--- rtems/testsuites/fstests/fspatheval/test.c:1.3 Wed Sep 7 02:42:12 2011
+++ rtems/testsuites/fstests/fspatheval/test.c Thu Sep 29 22:07:21 2011
@@ -23,6 +23,7 @@
#include <unistd.h>
#include "fstest.h"
+#include "pmacros.h"
#define BUF_SIZE 100
diff -u rtems/testsuites/fstests/fspermission/test.c:1.4 rtems/testsuites/fstests/fspermission/test.c:1.5
--- rtems/testsuites/fstests/fspermission/test.c:1.4 Wed Sep 7 02:42:12 2011
+++ rtems/testsuites/fstests/fspermission/test.c Thu Sep 29 22:07:21 2011
@@ -25,6 +25,7 @@
#include <unistd.h>
#include "fstest.h"
+#include "pmacros.h"
/*
* Test the umask
diff -u rtems/testsuites/fstests/fsrdwr/init.c:1.4 rtems/testsuites/fstests/fsrdwr/init.c:1.5
--- rtems/testsuites/fstests/fsrdwr/init.c:1.4 Wed Sep 7 02:42:12 2011
+++ rtems/testsuites/fstests/fsrdwr/init.c Thu Sep 29 22:07:21 2011
@@ -24,6 +24,7 @@
#include <unistd.h>
#include "fstest.h"
+#include "pmacros.h"
const char *databuf =
"Happy days are here again. Happy days are here again.1Happy "
diff -u rtems/testsuites/fstests/fssymlink/test.c:1.5 rtems/testsuites/fstests/fssymlink/test.c:1.6
--- rtems/testsuites/fstests/fssymlink/test.c:1.5 Wed Sep 7 02:42:12 2011
+++ rtems/testsuites/fstests/fssymlink/test.c Thu Sep 29 22:07:21 2011
@@ -26,6 +26,7 @@
#include <dirent.h>
#include "fstest.h"
+#include "pmacros.h"
/*
* Test the function of symlink
diff -u rtems/testsuites/fstests/fstime/test.c:1.4 rtems/testsuites/fstests/fstime/test.c:1.5
--- rtems/testsuites/fstests/fstime/test.c:1.4 Wed Sep 7 02:42:12 2011
+++ rtems/testsuites/fstests/fstime/test.c Thu Sep 29 22:07:21 2011
@@ -24,7 +24,9 @@
#include <string.h>
#include <unistd.h>
#include <utime.h>
+
#include "fstest.h"
+#include "pmacros.h"
void time_test01 (void)
{
diff -u rtems/testsuites/fstests/support/fstest.h:1.6 rtems/testsuites/fstests/support/fstest.h:1.7
--- rtems/testsuites/fstests/support/fstest.h:1.6 Wed Sep 7 02:43:15 2011
+++ rtems/testsuites/fstests/support/fstest.h Thu Sep 29 22:07:21 2011
@@ -12,8 +12,6 @@
#ifndef __FSTEST_H
#define __FSTEST_H
-#include "pmacros.h"
-
#define TIME_PRECISION (2)
#define TIME_EQUAL(x,y) (abs((x)-(y))<TIME_PRECISION)
diff -u rtems/testsuites/fstests/support/fstest_support.c:1.5 rtems/testsuites/fstests/support/fstest_support.c:1.6
--- rtems/testsuites/fstests/support/fstest_support.c:1.5 Wed Sep 7 02:42:12 2011
+++ rtems/testsuites/fstests/support/fstest_support.c Thu Sep 29 22:07:21 2011
@@ -18,6 +18,7 @@
#include <fcntl.h>
#include <string.h>
#include <unistd.h>
+#include <stdlib.h> /* exit */
#include <sys/stat.h>
#include <sys/types.h>
@@ -27,6 +28,7 @@
#include "fs_config.h"
#include "fstest.h"
+#include "pmacros.h"
#define TEMP_DIR "waterbuffalo"
diff -u rtems/testsuites/fstests/support/ramdisk_support.c:1.5 rtems/testsuites/fstests/support/ramdisk_support.c:1.6
--- rtems/testsuites/fstests/support/ramdisk_support.c:1.5 Wed Sep 7 02:42:12 2011
+++ rtems/testsuites/fstests/support/ramdisk_support.c Thu Sep 29 22:07:21 2011
@@ -19,6 +19,8 @@
#include "ramdisk_support.h"
#include "fstest.h"
+#include "pmacros.h"
+
/*
* Ramdisk information
*/
--
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/20110929/67df8420/attachment-0001.html>
More information about the vc
mailing list