diff options
Diffstat (limited to 'c/src/exec/score/headers/tod.h')
-rw-r--r-- | c/src/exec/score/headers/tod.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/c/src/exec/score/headers/tod.h b/c/src/exec/score/headers/tod.h index 6c2882a3c5..89ff118c33 100644 --- a/c/src/exec/score/headers/tod.h +++ b/c/src/exec/score/headers/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 } |