summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/include/rtems/score/tod.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1995-09-26 19:27:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1995-09-26 19:27:15 +0000
commit5e9b32b439627068a0292370fe595220dbfc95a0 (patch)
tree3740b62de3aaa10140867de33adad9a1fcc15b26 /c/src/exec/score/include/rtems/score/tod.h
parentfixed Id strings (diff)
downloadrtems-5e9b32b439627068a0292370fe595220dbfc95a0.tar.bz2
posix support initially added
Diffstat (limited to 'c/src/exec/score/include/rtems/score/tod.h')
-rw-r--r--c/src/exec/score/include/rtems/score/tod.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/c/src/exec/score/include/rtems/score/tod.h b/c/src/exec/score/include/rtems/score/tod.h
index 6c2882a3c5..89ff118c33 100644
--- a/c/src/exec/score/include/rtems/score/tod.h
+++ b/c/src/exec/score/include/rtems/score/tod.h
@@ -21,8 +21,8 @@
extern "C" {
#endif
-#include <rtems/core/object.h>
-#include <rtems/core/watchdog.h>
+#include <rtems/score/object.h>
+#include <rtems/score/watchdog.h>
/*
* The following constants are related to the time of day.
@@ -37,6 +37,8 @@ extern "C" {
TOD_MINUTES_PER_HOUR * \
TOD_HOURS_PER_DAY)
+#define TOD_SECONDS_PER_NON_LEAP_YEAR (365 * TOD_SECONDS_PER_DAY)
+
#define TOD_MICROSECONDS_PER_SECOND 1000000
#define TOD_MILLISECONDS_PER_SECOND 1000
@@ -290,7 +292,7 @@ void _TOD_Tickle(
#define TOD_MILLISECONDS_TO_TICKS(_ms) \
(TOD_MILLISECONDS_TO_MICROSECONDS(_ms) / _TOD_Microseconds_per_tick)
-#include <rtems/core/tod.inl>
+#include <rtems/score/tod.inl>
#ifdef __cplusplus
}