[rtems commit] score: Rename tod.h to todimpl.h

Sebastian Huber sebh at rtems.org
Thu Aug 1 14:41:52 UTC 2013


Module:    rtems
Branch:    master
Commit:    f031df0e637e3194494e34e97b94fb02a3933526
Changeset: http://git.rtems.org/rtems/commit/?id=f031df0e637e3194494e34e97b94fb02a3933526

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Jul 31 13:42:07 2013 +0200

score: Rename tod.h to todimpl.h

---

 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 +-
 .../score/include/rtems/score/{tod.h => todimpl.h} |    4 ++--
 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 +-
 57 files changed, 60 insertions(+), 60 deletions(-)

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/todimpl.h
similarity index 99%
rename from cpukit/score/include/rtems/score/tod.h
rename to cpukit/score/include/rtems/score/todimpl.h
index 0cbbe2f..f16390e 100644
--- a/cpukit/score/include/rtems/score/tod.h
+++ b/cpukit/score/include/rtems/score/todimpl.h
@@ -15,8 +15,8 @@
  *  http://www.rtems.com/license/LICENSE.
  */
 
-#ifndef _RTEMS_SCORE_TOD_H
-#define _RTEMS_SCORE_TOD_H
+#ifndef _RTEMS_SCORE_TODIMPL_H
+#define _RTEMS_SCORE_TODIMPL_H
 
 #include <rtems/score/basedefs.h>
 #include <rtems/score/timestamp.h>
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);




More information about the vc mailing list