[PATCH 1/5] score: Rename tod.h to todimpl.h
Sebastian Huber
sebastian.huber at embedded-brains.de
Wed Jul 31 13:15:10 UTC 2013
---
c/src/lib/libcpu/bfin/clock/rtc.c | 2 +-
cpukit/libcsupport/src/__gettod.c | 2 +-
cpukit/libcsupport/src/__times.c | 2 +-
cpukit/libmisc/cpuuse/cpuusagereport.c | 2 +-
cpukit/libmisc/cpuuse/cpuusagereset.c | 2 +-
cpukit/posix/src/adjtime.c | 2 +-
cpukit/posix/src/alarm.c | 2 +-
cpukit/posix/src/clockgetres.c | 2 +-
cpukit/posix/src/clockgettime.c | 2 +-
cpukit/posix/src/clocksettime.c | 2 +-
cpukit/posix/src/mqueueopen.c | 2 +-
cpukit/posix/src/posixtimespecabsolutetimeout.c | 2 +-
cpukit/posix/src/sysconf.c | 2 +-
cpukit/posix/src/timergettime.c | 2 +-
cpukit/posix/src/timersettime.c | 2 +-
cpukit/posix/src/timertsr.c | 2 +-
cpukit/posix/src/ualarm.c | 2 +-
cpukit/rtems/src/clockgetsecondssinceepoch.c | 2 +-
cpukit/rtems/src/clockgettickspersecond.c | 2 +-
cpukit/rtems/src/clockgettod.c | 2 +-
cpukit/rtems/src/clockgettodtimeval.c | 2 +-
cpukit/rtems/src/clockgetuptime.c | 2 +-
cpukit/rtems/src/clockgetuptimeseconds.c | 2 +-
cpukit/rtems/src/clockgetuptimetimeval.c | 2 +-
cpukit/rtems/src/clockset.c | 2 +-
cpukit/rtems/src/clocktick.c | 2 +-
cpukit/rtems/src/clocktodtoseconds.c | 2 +-
cpukit/rtems/src/clocktodvalidate.c | 2 +-
cpukit/rtems/src/ratemonperiod.c | 2 +-
cpukit/rtems/src/taskwakewhen.c | 2 +-
cpukit/rtems/src/timerfirewhen.c | 2 +-
cpukit/rtems/src/timerserver.c | 2 +-
cpukit/rtems/src/timerserverfirewhen.c | 2 +-
cpukit/sapi/src/exinit.c | 2 +-
cpukit/score/Makefile.am | 2 +-
cpukit/score/include/rtems/score/threadimpl.h | 2 +-
cpukit/score/include/rtems/score/tod.h | 328 -----------------------
cpukit/score/include/rtems/score/todimpl.h | 328 +++++++++++++++++++++++
cpukit/score/preinstall.am | 6 +-
cpukit/score/src/coretod.c | 2 +-
cpukit/score/src/coretodget.c | 2 +-
cpukit/score/src/coretodgetuptimetimespec.c | 2 +-
cpukit/score/src/coretodset.c | 2 +-
cpukit/score/src/coretodtickle.c | 2 +-
cpukit/score/src/coretodtickspersec.c | 2 +-
cpukit/score/src/threaddispatch.c | 2 +-
cpukit/score/src/timespecaddto.c | 2 +-
cpukit/score/src/timespecdivide.c | 2 +-
cpukit/score/src/timespecdividebyinteger.c | 2 +-
cpukit/score/src/timespecfromticks.c | 2 +-
cpukit/score/src/timespecisvalid.c | 2 +-
cpukit/score/src/timespecsubtract.c | 2 +-
cpukit/score/src/timespectoticks.c | 2 +-
testsuites/psxtests/psx01/init.c | 2 +-
testsuites/psxtests/psx05/init.c | 2 +-
testsuites/psxtests/psxclock/init.c | 2 +-
testsuites/sptests/spsize/size.c | 2 +-
testsuites/sptests/sptimespec01/init.c | 2 +-
58 files changed, 386 insertions(+), 386 deletions(-)
delete mode 100644 cpukit/score/include/rtems/score/tod.h
create mode 100644 cpukit/score/include/rtems/score/todimpl.h
diff --git a/c/src/lib/libcpu/bfin/clock/rtc.c b/c/src/lib/libcpu/bfin/clock/rtc.c
index 657bf8f..b612a5e 100644
--- a/c/src/lib/libcpu/bfin/clock/rtc.c
+++ b/c/src/lib/libcpu/bfin/clock/rtc.c
@@ -16,7 +16,7 @@
#include <rtems/libio.h>
#include <bsp.h>
#include <libcpu/rtcRegs.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
/* The following are inside RTEMS -- we are violating visibility!!!
* Perhaps an API could be defined to get days since 1 Jan.
diff --git a/cpukit/libcsupport/src/__gettod.c b/cpukit/libcsupport/src/__gettod.c
index d73e681..7de6a1c 100644
--- a/cpukit/libcsupport/src/__gettod.c
+++ b/cpukit/libcsupport/src/__gettod.c
@@ -23,7 +23,7 @@
#if defined(RTEMS_NEWLIB)
#include <sys/time.h>
#include <errno.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/seterr.h>
#if defined(RTEMS_NEWLIB) && !defined(HAVE_GETTIMEOFDAY)
diff --git a/cpukit/libcsupport/src/__times.c b/cpukit/libcsupport/src/__times.c
index 4596453..13e2605 100644
--- a/cpukit/libcsupport/src/__times.c
+++ b/cpukit/libcsupport/src/__times.c
@@ -25,7 +25,7 @@
#include <sys/time.h>
#include <errno.h>
#include <rtems/seterr.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__
#include <rtems/score/timestamp.h>
#endif
diff --git a/cpukit/libmisc/cpuuse/cpuusagereport.c b/cpukit/libmisc/cpuuse/cpuusagereport.c
index fcf7d26..4fa05ff 100644
--- a/cpukit/libmisc/cpuuse/cpuusagereport.c
+++ b/cpukit/libmisc/cpuuse/cpuusagereport.c
@@ -26,7 +26,7 @@
#include <rtems/cpuuse.h>
#include <rtems/score/objectimpl.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/score/watchdogimpl.h>
#ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__
diff --git a/cpukit/libmisc/cpuuse/cpuusagereset.c b/cpukit/libmisc/cpuuse/cpuusagereset.c
index b86350e..6b0539f 100644
--- a/cpukit/libmisc/cpuuse/cpuusagereset.c
+++ b/cpukit/libmisc/cpuuse/cpuusagereset.c
@@ -20,7 +20,7 @@
#include <rtems/cpuuse.h>
#include <rtems/score/thread.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/score/watchdogimpl.h>
static void CPU_usage_Per_thread_handler(
diff --git a/cpukit/posix/src/adjtime.c b/cpukit/posix/src/adjtime.c
index 8b49c75..1d00d15 100644
--- a/cpukit/posix/src/adjtime.c
+++ b/cpukit/posix/src/adjtime.c
@@ -24,7 +24,7 @@
#include <rtems/score/timespec.h>
#include <rtems/score/threaddispatch.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/config.h>
#include <rtems/seterr.h>
diff --git a/cpukit/posix/src/alarm.c b/cpukit/posix/src/alarm.c
index 065fae6..d46d571 100644
--- a/cpukit/posix/src/alarm.c
+++ b/cpukit/posix/src/alarm.c
@@ -26,7 +26,7 @@
#include <rtems/posix/pthreadimpl.h>
#include <rtems/posix/psignalimpl.h>
#include <rtems/score/threaddispatch.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/score/watchdogimpl.h>
/*
diff --git a/cpukit/posix/src/clockgetres.c b/cpukit/posix/src/clockgetres.c
index d35d50f..507bd52 100644
--- a/cpukit/posix/src/clockgetres.c
+++ b/cpukit/posix/src/clockgetres.c
@@ -21,7 +21,7 @@
#include <time.h>
#include <errno.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/config.h>
#include <rtems/seterr.h>
diff --git a/cpukit/posix/src/clockgettime.c b/cpukit/posix/src/clockgettime.c
index ebd0496..46a62f9 100644
--- a/cpukit/posix/src/clockgettime.c
+++ b/cpukit/posix/src/clockgettime.c
@@ -21,7 +21,7 @@
#include <time.h>
#include <errno.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/seterr.h>
/*
diff --git a/cpukit/posix/src/clocksettime.c b/cpukit/posix/src/clocksettime.c
index 8d1107d..a2910eb 100644
--- a/cpukit/posix/src/clocksettime.c
+++ b/cpukit/posix/src/clocksettime.c
@@ -22,7 +22,7 @@
#include <errno.h>
#include <rtems/score/threaddispatch.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/seterr.h>
/*
diff --git a/cpukit/posix/src/mqueueopen.c b/cpukit/posix/src/mqueueopen.c
index 79e7422..2a3991d 100644
--- a/cpukit/posix/src/mqueueopen.c
+++ b/cpukit/posix/src/mqueueopen.c
@@ -38,7 +38,7 @@
#include <fcntl.h>
#include <mqueue.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/score/watchdog.h>
#include <rtems/posix/mqueueimpl.h>
#include <rtems/posix/time.h>
diff --git a/cpukit/posix/src/posixtimespecabsolutetimeout.c b/cpukit/posix/src/posixtimespecabsolutetimeout.c
index 47cb875..6298e94 100644
--- a/cpukit/posix/src/posixtimespecabsolutetimeout.c
+++ b/cpukit/posix/src/posixtimespecabsolutetimeout.c
@@ -28,7 +28,7 @@
#include <rtems/posix/semaphoreimpl.h>
#include <rtems/posix/time.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/seterr.h>
/*
diff --git a/cpukit/posix/src/sysconf.c b/cpukit/posix/src/sysconf.c
index eb94e17..4ab1936 100644
--- a/cpukit/posix/src/sysconf.c
+++ b/cpukit/posix/src/sysconf.c
@@ -22,7 +22,7 @@
#include <unistd.h>
#include <errno.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/system.h>
#include <rtems/seterr.h>
#include <rtems/libio_.h>
diff --git a/cpukit/posix/src/timergettime.c b/cpukit/posix/src/timergettime.c
index e4fd60d..1ee4ea9 100644
--- a/cpukit/posix/src/timergettime.c
+++ b/cpukit/posix/src/timergettime.c
@@ -24,7 +24,7 @@
#include <errno.h>
#include <rtems/posix/timerimpl.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/score/watchdogimpl.h>
#include <rtems/seterr.h>
diff --git a/cpukit/posix/src/timersettime.c b/cpukit/posix/src/timersettime.c
index a1bd40b..c9040a9 100644
--- a/cpukit/posix/src/timersettime.c
+++ b/cpukit/posix/src/timersettime.c
@@ -26,7 +26,7 @@
#include <rtems/posix/time.h>
#include <rtems/posix/ptimer.h>
#include <rtems/posix/timerimpl.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/score/watchdogimpl.h>
#include <rtems/seterr.h>
diff --git a/cpukit/posix/src/timertsr.c b/cpukit/posix/src/timertsr.c
index 9c8f035..d508086 100644
--- a/cpukit/posix/src/timertsr.c
+++ b/cpukit/posix/src/timertsr.c
@@ -27,7 +27,7 @@
#include <rtems/posix/time.h>
#include <rtems/posix/ptimer.h>
#include <rtems/posix/timerimpl.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
/*
* This is the operation that is run when a timer expires
diff --git a/cpukit/posix/src/ualarm.c b/cpukit/posix/src/ualarm.c
index ae65a63..fcf7602 100644
--- a/cpukit/posix/src/ualarm.c
+++ b/cpukit/posix/src/ualarm.c
@@ -25,7 +25,7 @@
#include <rtems/posix/psignalimpl.h>
#include <rtems/posix/time.h>
#include <rtems/score/threaddispatch.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/score/watchdogimpl.h>
static void _POSIX_signals_Ualarm_TSR( Objects_Id id, void *argument );
diff --git a/cpukit/rtems/src/clockgetsecondssinceepoch.c b/cpukit/rtems/src/clockgetsecondssinceepoch.c
index 1f23072..f8265c4 100644
--- a/cpukit/rtems/src/clockgetsecondssinceepoch.c
+++ b/cpukit/rtems/src/clockgetsecondssinceepoch.c
@@ -19,7 +19,7 @@
#endif
#include <rtems/rtems/clock.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
rtems_status_code rtems_clock_get_seconds_since_epoch(
rtems_interval *the_interval
diff --git a/cpukit/rtems/src/clockgettickspersecond.c b/cpukit/rtems/src/clockgettickspersecond.c
index 87ae7bb..aa65a7a 100644
--- a/cpukit/rtems/src/clockgettickspersecond.c
+++ b/cpukit/rtems/src/clockgettickspersecond.c
@@ -19,7 +19,7 @@
#endif
#include <rtems/rtems/clock.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/config.h>
rtems_interval rtems_clock_get_ticks_per_second(void)
diff --git a/cpukit/rtems/src/clockgettod.c b/cpukit/rtems/src/clockgettod.c
index 8710b0f..41d29d4 100644
--- a/cpukit/rtems/src/clockgettod.c
+++ b/cpukit/rtems/src/clockgettod.c
@@ -19,7 +19,7 @@
#endif
#include <rtems/rtems/clock.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/config.h>
rtems_status_code rtems_clock_get_tod(
diff --git a/cpukit/rtems/src/clockgettodtimeval.c b/cpukit/rtems/src/clockgettodtimeval.c
index b10c4f2..a742fc4 100644
--- a/cpukit/rtems/src/clockgettodtimeval.c
+++ b/cpukit/rtems/src/clockgettodtimeval.c
@@ -19,7 +19,7 @@
#endif
#include <rtems/rtems/clock.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
rtems_status_code rtems_clock_get_tod_timeval(
struct timeval *time
diff --git a/cpukit/rtems/src/clockgetuptime.c b/cpukit/rtems/src/clockgetuptime.c
index 0645b8e..0ece74b 100644
--- a/cpukit/rtems/src/clockgetuptime.c
+++ b/cpukit/rtems/src/clockgetuptime.c
@@ -19,7 +19,7 @@
#endif
#include <rtems/rtems/clock.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
/*
* rtems_clock_get_uptime
diff --git a/cpukit/rtems/src/clockgetuptimeseconds.c b/cpukit/rtems/src/clockgetuptimeseconds.c
index e4436c1..c1dfbf3 100644
--- a/cpukit/rtems/src/clockgetuptimeseconds.c
+++ b/cpukit/rtems/src/clockgetuptimeseconds.c
@@ -25,7 +25,7 @@
#include <rtems/rtems/clock.h>
#include <rtems/score/isrlevel.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
time_t rtems_clock_get_uptime_seconds( void )
{
diff --git a/cpukit/rtems/src/clockgetuptimetimeval.c b/cpukit/rtems/src/clockgetuptimetimeval.c
index ef13882..78a2516 100644
--- a/cpukit/rtems/src/clockgetuptimetimeval.c
+++ b/cpukit/rtems/src/clockgetuptimetimeval.c
@@ -24,7 +24,7 @@
#endif
#include <rtems/rtems/clock.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
void rtems_clock_get_uptime_timeval( struct timeval *uptime )
{
diff --git a/cpukit/rtems/src/clockset.c b/cpukit/rtems/src/clockset.c
index 868d486..5bbf4df 100644
--- a/cpukit/rtems/src/clockset.c
+++ b/cpukit/rtems/src/clockset.c
@@ -20,7 +20,7 @@
#include <rtems/rtems/clock.h>
#include <rtems/score/threaddispatch.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/config.h>
rtems_status_code rtems_clock_set(
diff --git a/cpukit/rtems/src/clocktick.c b/cpukit/rtems/src/clocktick.c
index 1b1624f..77a06d0 100644
--- a/cpukit/rtems/src/clocktick.c
+++ b/cpukit/rtems/src/clocktick.c
@@ -21,7 +21,7 @@
#include <rtems/rtems/clock.h>
#include <rtems/score/schedulerimpl.h>
#include <rtems/score/threadimpl.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/score/watchdogimpl.h>
rtems_status_code rtems_clock_tick( void )
diff --git a/cpukit/rtems/src/clocktodtoseconds.c b/cpukit/rtems/src/clocktodtoseconds.c
index daa33b4..9a736a3 100644
--- a/cpukit/rtems/src/clocktodtoseconds.c
+++ b/cpukit/rtems/src/clocktodtoseconds.c
@@ -19,7 +19,7 @@
#endif
#include <rtems/rtems/clock.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#define TOD_SECONDS_AT_2100_03_01_00_00 4107538800UL
diff --git a/cpukit/rtems/src/clocktodvalidate.c b/cpukit/rtems/src/clocktodvalidate.c
index c464c37..ad07098 100644
--- a/cpukit/rtems/src/clocktodvalidate.c
+++ b/cpukit/rtems/src/clocktodvalidate.c
@@ -19,7 +19,7 @@
#endif
#include <rtems/rtems/clock.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/config.h>
/*
diff --git a/cpukit/rtems/src/ratemonperiod.c b/cpukit/rtems/src/ratemonperiod.c
index 25e64b2..76f523a 100644
--- a/cpukit/rtems/src/ratemonperiod.c
+++ b/cpukit/rtems/src/ratemonperiod.c
@@ -21,7 +21,7 @@
#include <rtems/rtems/ratemonimpl.h>
#include <rtems/score/schedulerimpl.h>
#include <rtems/score/threadimpl.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/score/watchdogimpl.h>
bool _Rate_monotonic_Get_status(
diff --git a/cpukit/rtems/src/taskwakewhen.c b/cpukit/rtems/src/taskwakewhen.c
index 759cb2e..a63c496 100644
--- a/cpukit/rtems/src/taskwakewhen.c
+++ b/cpukit/rtems/src/taskwakewhen.c
@@ -21,7 +21,7 @@
#include <rtems/rtems/tasks.h>
#include <rtems/rtems/clock.h>
#include <rtems/score/threadimpl.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/score/watchdogimpl.h>
rtems_status_code rtems_task_wake_when(
diff --git a/cpukit/rtems/src/timerfirewhen.c b/cpukit/rtems/src/timerfirewhen.c
index c2be8b8..68da48a 100644
--- a/cpukit/rtems/src/timerfirewhen.c
+++ b/cpukit/rtems/src/timerfirewhen.c
@@ -20,7 +20,7 @@
#include <rtems/rtems/timerimpl.h>
#include <rtems/rtems/clock.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/score/watchdogimpl.h>
rtems_status_code rtems_timer_fire_when(
diff --git a/cpukit/rtems/src/timerserver.c b/cpukit/rtems/src/timerserver.c
index a76f346..165bcc3 100644
--- a/cpukit/rtems/src/timerserver.c
+++ b/cpukit/rtems/src/timerserver.c
@@ -30,7 +30,7 @@
#include <rtems/rtems/tasksimpl.h>
#include <rtems/score/isrlevel.h>
#include <rtems/score/threadimpl.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/score/watchdogimpl.h>
static Timer_server_Control _Timer_server_Default;
diff --git a/cpukit/rtems/src/timerserverfirewhen.c b/cpukit/rtems/src/timerserverfirewhen.c
index bf1f7d5..43f4fcf 100644
--- a/cpukit/rtems/src/timerserverfirewhen.c
+++ b/cpukit/rtems/src/timerserverfirewhen.c
@@ -20,7 +20,7 @@
#include <rtems/rtems/timerimpl.h>
#include <rtems/rtems/clock.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/score/watchdogimpl.h>
/*
diff --git a/cpukit/sapi/src/exinit.c b/cpukit/sapi/src/exinit.c
index b35393c..5574b43 100644
--- a/cpukit/sapi/src/exinit.c
+++ b/cpukit/sapi/src/exinit.c
@@ -48,7 +48,7 @@
#include <rtems/score/prioritybitmapimpl.h>
#include <rtems/score/schedulerimpl.h>
#include <rtems/score/threadimpl.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/score/userextimpl.h>
#include <rtems/score/watchdogimpl.h>
#include <rtems/score/wkspace.h>
diff --git a/cpukit/score/Makefile.am b/cpukit/score/Makefile.am
index eb7376d..015b230 100644
--- a/cpukit/score/Makefile.am
+++ b/cpukit/score/Makefile.am
@@ -70,7 +70,7 @@ include_rtems_score_HEADERS += include/rtems/score/threadsync.h
include_rtems_score_HEADERS += include/rtems/score/timespec.h
include_rtems_score_HEADERS += include/rtems/score/timestamp.h
include_rtems_score_HEADERS += include/rtems/score/timestamp64.h
-include_rtems_score_HEADERS += include/rtems/score/tod.h
+include_rtems_score_HEADERS += include/rtems/score/todimpl.h
include_rtems_score_HEADERS += include/rtems/score/userext.h
include_rtems_score_HEADERS += include/rtems/score/userextimpl.h
include_rtems_score_HEADERS += include/rtems/score/watchdog.h
diff --git a/cpukit/score/include/rtems/score/threadimpl.h b/cpukit/score/include/rtems/score/threadimpl.h
index e818bc8..fcd3f07 100644
--- a/cpukit/score/include/rtems/score/threadimpl.h
+++ b/cpukit/score/include/rtems/score/threadimpl.h
@@ -23,7 +23,7 @@
#include <rtems/score/isr.h>
#include <rtems/score/objectimpl.h>
#include <rtems/score/statesimpl.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#ifdef __cplusplus
extern "C" {
diff --git a/cpukit/score/include/rtems/score/tod.h b/cpukit/score/include/rtems/score/tod.h
deleted file mode 100644
index 0cbbe2f..0000000
--- a/cpukit/score/include/rtems/score/tod.h
+++ /dev/null
@@ -1,328 +0,0 @@
-/**
- * @file
- *
- * @ingroup ScoreTOD
- *
- * @brief Time of Day Handler API
- */
-
-/*
- * COPYRIGHT (c) 1989-2009.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.com/license/LICENSE.
- */
-
-#ifndef _RTEMS_SCORE_TOD_H
-#define _RTEMS_SCORE_TOD_H
-
-#include <rtems/score/basedefs.h>
-#include <rtems/score/timestamp.h>
-
-#include <sys/time.h>
-#include <time.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * @defgroup ScoreTOD Time of Day Handler
- *
- * @ingroup Score
- *
- * The following constants are related to the time of day and are
- * independent of RTEMS.
- */
-/**@{*/
-
-/**
- * This constant represents the number of seconds in a minute.
- */
-#define TOD_SECONDS_PER_MINUTE (uint32_t)60
-
-/**
- * This constant represents the number of minutes per hour.
- */
-#define TOD_MINUTES_PER_HOUR (uint32_t)60
-
-/**
- * This constant represents the number of months in a year.
- */
-#define TOD_MONTHS_PER_YEAR (uint32_t)12
-
-/**
- * This constant represents the number of days in a non-leap year.
- */
-#define TOD_DAYS_PER_YEAR (uint32_t)365
-
-/**
- * This constant represents the number of hours per day.
- */
-#define TOD_HOURS_PER_DAY (uint32_t)24
-
-/**
- * This constant represents the number of seconds in a day which does
- * not include a leap second.
- */
-#define TOD_SECONDS_PER_DAY (uint32_t) (TOD_SECONDS_PER_MINUTE * \
- TOD_MINUTES_PER_HOUR * \
- TOD_HOURS_PER_DAY)
-
-/**
- * This constant represents the number of seconds in a non-leap year.
- */
-#define TOD_SECONDS_PER_NON_LEAP_YEAR (365 * TOD_SECONDS_PER_DAY)
-
-/**
- * This constant represents the number of millisecond in a second.
- */
-#define TOD_MILLISECONDS_PER_SECOND (uint32_t)1000
-
-/**
- * This constant represents the number of microseconds in a second.
- */
-#define TOD_MICROSECONDS_PER_SECOND (uint32_t)1000000
-
-/**
- * This constant represents the number of nanoseconds in a second.
- */
-#define TOD_NANOSECONDS_PER_SECOND (uint32_t)1000000000
-
-/**
- * This constant represents the number of nanoseconds in a mircosecond.
- */
-#define TOD_NANOSECONDS_PER_MICROSECOND (uint32_t)1000
-
-/**@}*/
-
-/**
- * Seconds from January 1, 1970 to January 1, 1988. Used to account for
- * differences between POSIX API and RTEMS core. The timespec format time
- * is kept in POSIX compliant form.
- */
-#define TOD_SECONDS_1970_THROUGH_1988 \
- (((1987 - 1970 + 1) * TOD_SECONDS_PER_NON_LEAP_YEAR) + \
- (4 * TOD_SECONDS_PER_DAY))
-
-/**
- * @brief Earliest year to which an time of day can be initialized.
- *
- * The following constant define the earliest year to which an
- * time of day can be initialized. This is considered the
- * epoch.
- */
-#define TOD_BASE_YEAR 1988
-
-/**
- * @defgroup ScoreTOD Time Of Day (TOD) Handler
- *
- * @ingroup Score
- *
- * This handler encapsulates functionality used to manage time of day.
- */
-/**@{*/
-
-/**
- * @brief TOD control.
- */
-typedef struct {
- /**
- * @brief Current time of day value.
- */
- Timestamp_Control now;
-
- /**
- * @brief System uptime.
- */
- Timestamp_Control uptime;
-
- /**
- * @brief Time of day seconds trigger.
- *
- * This value specifies the nanoseconds since the last time of day second.
- * It is updated and evaluated in _TOD_Tickle_ticks(). It is set in
- * _TOD_Set_with_timestamp().
- */
- uint32_t seconds_trigger;
-
- /**
- * @brief Indicates if the time of day is set.
- *
- * This is true if the application has set the current
- * time of day, and false otherwise.
- */
- bool is_set;
-} TOD_Control;
-
-SCORE_EXTERN TOD_Control _TOD;
-
-/**
- * @brief Number of seconds Since RTEMS epoch.
- *
- * The following contains the number of seconds from 00:00:00
- * January 1, TOD_BASE_YEAR until the current time of day.
- */
-#define _TOD_Seconds_since_epoch() \
- _Timestamp_Get_seconds(&_TOD.now)
-
-/**
- * @brief Initializes the time of day handler.
- *
- * Performs the initialization necessary for the Time Of Day handler.
- */
-void _TOD_Handler_initialization(void);
-
-/**
- * @brief Sets the time of day from timestamp.
- *
- * The @a tod_as_timestamp timestamp represents the time since UNIX epoch.
- * The watchdog seconds chain will be adjusted.
- *
- * @param[in] tod_as_timestamp is the constant of the time of day as a timestamp
- */
-void _TOD_Set_with_timestamp(
- const Timestamp_Control *tod_as_timestamp
-);
-
-static inline void _TOD_Set(
- const struct timespec *tod_as_timespec
-)
-{
- Timestamp_Control tod_as_timestamp;
-
- _Timestamp_Set(
- &tod_as_timestamp,
- tod_as_timespec->tv_sec,
- tod_as_timespec->tv_nsec
- );
- _TOD_Set_with_timestamp( &tod_as_timestamp );
-}
-
-/**
- * @brief Returns a snapshot of a clock.
- *
- * This function invokes the nanoseconds extension.
- *
- * @param[out] snapshot points to an area that will contain the current
- * TOD plus the BSP nanoseconds since last tick adjustment
- * @param[in] clock contains the current TOD
- *
- * @retval @a snapshot
- */
-Timestamp_Control *_TOD_Get_with_nanoseconds(
- Timestamp_Control *snapshot,
- const Timestamp_Control *clock
-);
-
-static inline void _TOD_Get(
- struct timespec *tod_as_timespec
-)
-{
- Timestamp_Control tod_as_timestamp;
- Timestamp_Control *tod_as_timestamp_ptr;
-
- tod_as_timestamp_ptr =
- _TOD_Get_with_nanoseconds( &tod_as_timestamp, &_TOD.now );
- _Timestamp_To_timespec( tod_as_timestamp_ptr, tod_as_timespec );
-}
-
-/**
- * @brief Gets the system uptime with potential accuracy to the nanosecond.
- *
- * This routine returns the system uptime with potential accuracy
- * to the nanosecond.
- *
- * @param[in] time is a pointer to the uptime to be returned
- */
-static inline void _TOD_Get_uptime(
- Timestamp_Control *time
-)
-{
- _TOD_Get_with_nanoseconds( time, &_TOD.uptime );
-}
-
-/**
- * @brief Gets the system uptime with potential accuracy to the nanosecond.
- *
- * This routine returns the system uptime with potential accuracy
- * to the nanosecond.
- *
- * @param[in] time is a pointer to the uptime to be returned
- */
-void _TOD_Get_uptime_as_timespec(
- struct timespec *time
-);
-
-/**
- * @brief Increments time of day at each clock tick.
- *
- * This routine increments the ticks field of the current time of
- * day at each clock tick.
- */
-void _TOD_Tickle_ticks( void );
-
-/**
- * @brief Gets number of ticks in a second.
- *
- * This method returns the number of ticks in a second.
- *
- * @note If the clock tick value does not multiply evenly into a second
- * then this number of ticks will be slightly shorter than a second.
- */
-uint32_t TOD_TICKS_PER_SECOND_method(void);
-
-/**
- * @brief Gets number of ticks in a second.
- *
- * This method exists to hide the fact that TOD_TICKS_PER_SECOND can not
- * be implemented as a macro in a .h file due to visibility issues.
- * The Configuration Table is not available to SuperCore .h files but
- * is available to their .c files.
- */
-#define TOD_TICKS_PER_SECOND TOD_TICKS_PER_SECOND_method()
-
-/**
- * This routine deactivates updating of the current time of day.
- */
-
-RTEMS_INLINE_ROUTINE void _TOD_Deactivate( void )
-{
- /* XXX do we need something now that we are using timespec for TOD */
-}
-
-/**
- * This routine activates updating of the current time of day.
- */
-
-RTEMS_INLINE_ROUTINE void _TOD_Activate( void )
-{
- /* XXX do we need something now that we are using timespec for TOD */
-}
-
-/**
- * This routine returns a timeval based upon the internal timespec format TOD.
- */
-
-RTEMS_INLINE_ROUTINE void _TOD_Get_timeval(
- struct timeval *time
-)
-{
- Timestamp_Control snapshot_as_timestamp;
- Timestamp_Control *snapshot_as_timestamp_ptr;
-
- snapshot_as_timestamp_ptr =
- _TOD_Get_with_nanoseconds( &snapshot_as_timestamp, &_TOD.now );
- _Timestamp_To_timeval( snapshot_as_timestamp_ptr, time );
-}
-
-/**@}*/
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-/* end of include file */
diff --git a/cpukit/score/include/rtems/score/todimpl.h b/cpukit/score/include/rtems/score/todimpl.h
new file mode 100644
index 0000000..f16390e
--- /dev/null
+++ b/cpukit/score/include/rtems/score/todimpl.h
@@ -0,0 +1,328 @@
+/**
+ * @file
+ *
+ * @ingroup ScoreTOD
+ *
+ * @brief Time of Day Handler API
+ */
+
+/*
+ * COPYRIGHT (c) 1989-2009.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ */
+
+#ifndef _RTEMS_SCORE_TODIMPL_H
+#define _RTEMS_SCORE_TODIMPL_H
+
+#include <rtems/score/basedefs.h>
+#include <rtems/score/timestamp.h>
+
+#include <sys/time.h>
+#include <time.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * @defgroup ScoreTOD Time of Day Handler
+ *
+ * @ingroup Score
+ *
+ * The following constants are related to the time of day and are
+ * independent of RTEMS.
+ */
+/**@{*/
+
+/**
+ * This constant represents the number of seconds in a minute.
+ */
+#define TOD_SECONDS_PER_MINUTE (uint32_t)60
+
+/**
+ * This constant represents the number of minutes per hour.
+ */
+#define TOD_MINUTES_PER_HOUR (uint32_t)60
+
+/**
+ * This constant represents the number of months in a year.
+ */
+#define TOD_MONTHS_PER_YEAR (uint32_t)12
+
+/**
+ * This constant represents the number of days in a non-leap year.
+ */
+#define TOD_DAYS_PER_YEAR (uint32_t)365
+
+/**
+ * This constant represents the number of hours per day.
+ */
+#define TOD_HOURS_PER_DAY (uint32_t)24
+
+/**
+ * This constant represents the number of seconds in a day which does
+ * not include a leap second.
+ */
+#define TOD_SECONDS_PER_DAY (uint32_t) (TOD_SECONDS_PER_MINUTE * \
+ TOD_MINUTES_PER_HOUR * \
+ TOD_HOURS_PER_DAY)
+
+/**
+ * This constant represents the number of seconds in a non-leap year.
+ */
+#define TOD_SECONDS_PER_NON_LEAP_YEAR (365 * TOD_SECONDS_PER_DAY)
+
+/**
+ * This constant represents the number of millisecond in a second.
+ */
+#define TOD_MILLISECONDS_PER_SECOND (uint32_t)1000
+
+/**
+ * This constant represents the number of microseconds in a second.
+ */
+#define TOD_MICROSECONDS_PER_SECOND (uint32_t)1000000
+
+/**
+ * This constant represents the number of nanoseconds in a second.
+ */
+#define TOD_NANOSECONDS_PER_SECOND (uint32_t)1000000000
+
+/**
+ * This constant represents the number of nanoseconds in a mircosecond.
+ */
+#define TOD_NANOSECONDS_PER_MICROSECOND (uint32_t)1000
+
+/**@}*/
+
+/**
+ * Seconds from January 1, 1970 to January 1, 1988. Used to account for
+ * differences between POSIX API and RTEMS core. The timespec format time
+ * is kept in POSIX compliant form.
+ */
+#define TOD_SECONDS_1970_THROUGH_1988 \
+ (((1987 - 1970 + 1) * TOD_SECONDS_PER_NON_LEAP_YEAR) + \
+ (4 * TOD_SECONDS_PER_DAY))
+
+/**
+ * @brief Earliest year to which an time of day can be initialized.
+ *
+ * The following constant define the earliest year to which an
+ * time of day can be initialized. This is considered the
+ * epoch.
+ */
+#define TOD_BASE_YEAR 1988
+
+/**
+ * @defgroup ScoreTOD Time Of Day (TOD) Handler
+ *
+ * @ingroup Score
+ *
+ * This handler encapsulates functionality used to manage time of day.
+ */
+/**@{*/
+
+/**
+ * @brief TOD control.
+ */
+typedef struct {
+ /**
+ * @brief Current time of day value.
+ */
+ Timestamp_Control now;
+
+ /**
+ * @brief System uptime.
+ */
+ Timestamp_Control uptime;
+
+ /**
+ * @brief Time of day seconds trigger.
+ *
+ * This value specifies the nanoseconds since the last time of day second.
+ * It is updated and evaluated in _TOD_Tickle_ticks(). It is set in
+ * _TOD_Set_with_timestamp().
+ */
+ uint32_t seconds_trigger;
+
+ /**
+ * @brief Indicates if the time of day is set.
+ *
+ * This is true if the application has set the current
+ * time of day, and false otherwise.
+ */
+ bool is_set;
+} TOD_Control;
+
+SCORE_EXTERN TOD_Control _TOD;
+
+/**
+ * @brief Number of seconds Since RTEMS epoch.
+ *
+ * The following contains the number of seconds from 00:00:00
+ * January 1, TOD_BASE_YEAR until the current time of day.
+ */
+#define _TOD_Seconds_since_epoch() \
+ _Timestamp_Get_seconds(&_TOD.now)
+
+/**
+ * @brief Initializes the time of day handler.
+ *
+ * Performs the initialization necessary for the Time Of Day handler.
+ */
+void _TOD_Handler_initialization(void);
+
+/**
+ * @brief Sets the time of day from timestamp.
+ *
+ * The @a tod_as_timestamp timestamp represents the time since UNIX epoch.
+ * The watchdog seconds chain will be adjusted.
+ *
+ * @param[in] tod_as_timestamp is the constant of the time of day as a timestamp
+ */
+void _TOD_Set_with_timestamp(
+ const Timestamp_Control *tod_as_timestamp
+);
+
+static inline void _TOD_Set(
+ const struct timespec *tod_as_timespec
+)
+{
+ Timestamp_Control tod_as_timestamp;
+
+ _Timestamp_Set(
+ &tod_as_timestamp,
+ tod_as_timespec->tv_sec,
+ tod_as_timespec->tv_nsec
+ );
+ _TOD_Set_with_timestamp( &tod_as_timestamp );
+}
+
+/**
+ * @brief Returns a snapshot of a clock.
+ *
+ * This function invokes the nanoseconds extension.
+ *
+ * @param[out] snapshot points to an area that will contain the current
+ * TOD plus the BSP nanoseconds since last tick adjustment
+ * @param[in] clock contains the current TOD
+ *
+ * @retval @a snapshot
+ */
+Timestamp_Control *_TOD_Get_with_nanoseconds(
+ Timestamp_Control *snapshot,
+ const Timestamp_Control *clock
+);
+
+static inline void _TOD_Get(
+ struct timespec *tod_as_timespec
+)
+{
+ Timestamp_Control tod_as_timestamp;
+ Timestamp_Control *tod_as_timestamp_ptr;
+
+ tod_as_timestamp_ptr =
+ _TOD_Get_with_nanoseconds( &tod_as_timestamp, &_TOD.now );
+ _Timestamp_To_timespec( tod_as_timestamp_ptr, tod_as_timespec );
+}
+
+/**
+ * @brief Gets the system uptime with potential accuracy to the nanosecond.
+ *
+ * This routine returns the system uptime with potential accuracy
+ * to the nanosecond.
+ *
+ * @param[in] time is a pointer to the uptime to be returned
+ */
+static inline void _TOD_Get_uptime(
+ Timestamp_Control *time
+)
+{
+ _TOD_Get_with_nanoseconds( time, &_TOD.uptime );
+}
+
+/**
+ * @brief Gets the system uptime with potential accuracy to the nanosecond.
+ *
+ * This routine returns the system uptime with potential accuracy
+ * to the nanosecond.
+ *
+ * @param[in] time is a pointer to the uptime to be returned
+ */
+void _TOD_Get_uptime_as_timespec(
+ struct timespec *time
+);
+
+/**
+ * @brief Increments time of day at each clock tick.
+ *
+ * This routine increments the ticks field of the current time of
+ * day at each clock tick.
+ */
+void _TOD_Tickle_ticks( void );
+
+/**
+ * @brief Gets number of ticks in a second.
+ *
+ * This method returns the number of ticks in a second.
+ *
+ * @note If the clock tick value does not multiply evenly into a second
+ * then this number of ticks will be slightly shorter than a second.
+ */
+uint32_t TOD_TICKS_PER_SECOND_method(void);
+
+/**
+ * @brief Gets number of ticks in a second.
+ *
+ * This method exists to hide the fact that TOD_TICKS_PER_SECOND can not
+ * be implemented as a macro in a .h file due to visibility issues.
+ * The Configuration Table is not available to SuperCore .h files but
+ * is available to their .c files.
+ */
+#define TOD_TICKS_PER_SECOND TOD_TICKS_PER_SECOND_method()
+
+/**
+ * This routine deactivates updating of the current time of day.
+ */
+
+RTEMS_INLINE_ROUTINE void _TOD_Deactivate( void )
+{
+ /* XXX do we need something now that we are using timespec for TOD */
+}
+
+/**
+ * This routine activates updating of the current time of day.
+ */
+
+RTEMS_INLINE_ROUTINE void _TOD_Activate( void )
+{
+ /* XXX do we need something now that we are using timespec for TOD */
+}
+
+/**
+ * This routine returns a timeval based upon the internal timespec format TOD.
+ */
+
+RTEMS_INLINE_ROUTINE void _TOD_Get_timeval(
+ struct timeval *time
+)
+{
+ Timestamp_Control snapshot_as_timestamp;
+ Timestamp_Control *snapshot_as_timestamp_ptr;
+
+ snapshot_as_timestamp_ptr =
+ _TOD_Get_with_nanoseconds( &snapshot_as_timestamp, &_TOD.now );
+ _Timestamp_To_timeval( snapshot_as_timestamp_ptr, time );
+}
+
+/**@}*/
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+/* end of include file */
diff --git a/cpukit/score/preinstall.am b/cpukit/score/preinstall.am
index aff76c9..6d0cb81 100644
--- a/cpukit/score/preinstall.am
+++ b/cpukit/score/preinstall.am
@@ -263,9 +263,9 @@ $(PROJECT_INCLUDE)/rtems/score/timestamp64.h: include/rtems/score/timestamp64.h
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/timestamp64.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/timestamp64.h
-$(PROJECT_INCLUDE)/rtems/score/tod.h: include/rtems/score/tod.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/tod.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/tod.h
+$(PROJECT_INCLUDE)/rtems/score/todimpl.h: include/rtems/score/todimpl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
+ $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/todimpl.h
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/todimpl.h
$(PROJECT_INCLUDE)/rtems/score/userext.h: include/rtems/score/userext.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/userext.h
diff --git a/cpukit/score/src/coretod.c b/cpukit/score/src/coretod.c
index 1dcf19f..28df21f 100644
--- a/cpukit/score/src/coretod.c
+++ b/cpukit/score/src/coretod.c
@@ -18,7 +18,7 @@
#include "config.h"
#endif
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
void _TOD_Handler_initialization(void)
{
diff --git a/cpukit/score/src/coretodget.c b/cpukit/score/src/coretodget.c
index 3e2cb4f..b45930a 100644
--- a/cpukit/score/src/coretodget.c
+++ b/cpukit/score/src/coretodget.c
@@ -18,7 +18,7 @@
#include "config.h"
#endif
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/score/isrlevel.h>
#include <rtems/score/watchdogimpl.h>
diff --git a/cpukit/score/src/coretodgetuptimetimespec.c b/cpukit/score/src/coretodgetuptimetimespec.c
index 16e519e..ac053b9 100644
--- a/cpukit/score/src/coretodgetuptimetimespec.c
+++ b/cpukit/score/src/coretodgetuptimetimespec.c
@@ -18,7 +18,7 @@
#include "config.h"
#endif
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
void _TOD_Get_uptime_as_timespec(
struct timespec *uptime
diff --git a/cpukit/score/src/coretodset.c b/cpukit/score/src/coretodset.c
index 23ba2e6..f2f743d 100644
--- a/cpukit/score/src/coretodset.c
+++ b/cpukit/score/src/coretodset.c
@@ -18,7 +18,7 @@
#include "config.h"
#endif
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/score/threaddispatch.h>
#include <rtems/score/watchdogimpl.h>
diff --git a/cpukit/score/src/coretodtickle.c b/cpukit/score/src/coretodtickle.c
index 41644b9..4586e84 100644
--- a/cpukit/score/src/coretodtickle.c
+++ b/cpukit/score/src/coretodtickle.c
@@ -18,7 +18,7 @@
#include "config.h"
#endif
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/score/watchdogimpl.h>
#include <rtems/config.h>
diff --git a/cpukit/score/src/coretodtickspersec.c b/cpukit/score/src/coretodtickspersec.c
index 58e7e04..9744cbb 100644
--- a/cpukit/score/src/coretodtickspersec.c
+++ b/cpukit/score/src/coretodtickspersec.c
@@ -18,7 +18,7 @@
#include "config.h"
#endif
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/config.h>
uint32_t TOD_TICKS_PER_SECOND_method(void)
diff --git a/cpukit/score/src/threaddispatch.c b/cpukit/score/src/threaddispatch.c
index 09b5dbe..c659f9f 100644
--- a/cpukit/score/src/threaddispatch.c
+++ b/cpukit/score/src/threaddispatch.c
@@ -22,7 +22,7 @@
#include <rtems/score/apiext.h>
#include <rtems/score/isr.h>
#include <rtems/score/threadimpl.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/score/userextimpl.h>
#include <rtems/score/wkspace.h>
diff --git a/cpukit/score/src/timespecaddto.c b/cpukit/score/src/timespecaddto.c
index a1d6c87..ef60910 100644
--- a/cpukit/score/src/timespecaddto.c
+++ b/cpukit/score/src/timespecaddto.c
@@ -19,7 +19,7 @@
#endif
#include <rtems/score/timespec.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/score/watchdog.h>
uint32_t _Timespec_Add_to(
diff --git a/cpukit/score/src/timespecdivide.c b/cpukit/score/src/timespecdivide.c
index 3434fdf..a4a1b85 100644
--- a/cpukit/score/src/timespecdivide.c
+++ b/cpukit/score/src/timespecdivide.c
@@ -19,7 +19,7 @@
#endif
#include <rtems/score/timespec.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
void _Timespec_Divide(
const struct timespec *lhs,
diff --git a/cpukit/score/src/timespecdividebyinteger.c b/cpukit/score/src/timespecdividebyinteger.c
index 6d97dcb..9d146db 100644
--- a/cpukit/score/src/timespecdividebyinteger.c
+++ b/cpukit/score/src/timespecdividebyinteger.c
@@ -20,7 +20,7 @@
#endif
#include <rtems/score/timespec.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
void _Timespec_Divide_by_integer(
const struct timespec *time,
diff --git a/cpukit/score/src/timespecfromticks.c b/cpukit/score/src/timespecfromticks.c
index 3e994a0..231da33 100644
--- a/cpukit/score/src/timespecfromticks.c
+++ b/cpukit/score/src/timespecfromticks.c
@@ -19,7 +19,7 @@
#endif
#include <rtems/score/timespec.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/config.h>
void _Timespec_From_ticks(
diff --git a/cpukit/score/src/timespecisvalid.c b/cpukit/score/src/timespecisvalid.c
index 61dce72..98bb3ba 100644
--- a/cpukit/score/src/timespecisvalid.c
+++ b/cpukit/score/src/timespecisvalid.c
@@ -19,7 +19,7 @@
#endif
#include <rtems/score/timespec.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
bool _Timespec_Is_valid(
const struct timespec *time
diff --git a/cpukit/score/src/timespecsubtract.c b/cpukit/score/src/timespecsubtract.c
index 8d29f17..14fcdcc 100644
--- a/cpukit/score/src/timespecsubtract.c
+++ b/cpukit/score/src/timespecsubtract.c
@@ -19,7 +19,7 @@
#endif
#include <rtems/score/timespec.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
void _Timespec_Subtract(
const struct timespec *start,
diff --git a/cpukit/score/src/timespectoticks.c b/cpukit/score/src/timespectoticks.c
index 12eaada..a628818 100644
--- a/cpukit/score/src/timespectoticks.c
+++ b/cpukit/score/src/timespectoticks.c
@@ -16,7 +16,7 @@
#endif
#include <rtems/score/timespec.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/config.h>
/**
diff --git a/testsuites/psxtests/psx01/init.c b/testsuites/psxtests/psx01/init.c
index 128bf23..59605b4 100644
--- a/testsuites/psxtests/psx01/init.c
+++ b/testsuites/psxtests/psx01/init.c
@@ -18,7 +18,7 @@
#include "system.h"
#include "pritime.h"
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
void *POSIX_Init(
void *argument
diff --git a/testsuites/psxtests/psx05/init.c b/testsuites/psxtests/psx05/init.c
index dc6a0c1..67300b6 100644
--- a/testsuites/psxtests/psx05/init.c
+++ b/testsuites/psxtests/psx05/init.c
@@ -17,7 +17,7 @@
#include "system.h"
#include <errno.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#define MUTEX_BAD_ID 0xfffffffe
diff --git a/testsuites/psxtests/psxclock/init.c b/testsuites/psxtests/psxclock/init.c
index 819bc15..8011df2 100644
--- a/testsuites/psxtests/psxclock/init.c
+++ b/testsuites/psxtests/psxclock/init.c
@@ -17,7 +17,7 @@
#include "pmacros.h"
#include "pritime.h"
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
diff --git a/testsuites/sptests/spsize/size.c b/testsuites/sptests/spsize/size.c
index 77f161f..8e837d1 100644
--- a/testsuites/sptests/spsize/size.c
+++ b/testsuites/sptests/spsize/size.c
@@ -43,7 +43,7 @@
#include <rtems/score/sysstate.h>
#include <rtems/score/thread.h>
#include <rtems/rtems/timerimpl.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
#include <rtems/score/userextimpl.h>
#include <rtems/score/watchdogimpl.h>
#include <rtems/score/wkspace.h>
diff --git a/testsuites/sptests/sptimespec01/init.c b/testsuites/sptests/sptimespec01/init.c
index df3173c..8876f09 100644
--- a/testsuites/sptests/sptimespec01/init.c
+++ b/testsuites/sptests/sptimespec01/init.c
@@ -13,7 +13,7 @@
#include <tmacros.h>
#include "test_support.h"
#include <rtems/timespec.h>
-#include <rtems/score/tod.h>
+#include <rtems/score/todimpl.h>
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
--
1.7.7
More information about the devel
mailing list