summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-30 20:48:33 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-30 20:48:33 +0000
commit7c55e065f9f1c45a0fccaba341703210ee0b2527 (patch)
tree0ee2f0003a61fa98da07aae47aa3e8e146e30e63 /c
parent5600661d6ab0aee73bb6d1c89585ab147c91cdc0 (diff)
downloadrtems-7c55e065f9f1c45a0fccaba341703210ee0b2527.tar.bz2
Added nanoseconds constant
Diffstat (limited to 'c')
-rw-r--r--c/src/exec/score/headers/tod.h5
-rw-r--r--c/src/exec/score/include/rtems/score/tod.h5
2 files changed, 6 insertions, 4 deletions
diff --git a/c/src/exec/score/headers/tod.h b/c/src/exec/score/headers/tod.h
index 3dd4e6d823..5e3a89756c 100644
--- a/c/src/exec/score/headers/tod.h
+++ b/c/src/exec/score/headers/tod.h
@@ -39,8 +39,9 @@ extern "C" {
#define TOD_SECONDS_PER_NON_LEAP_YEAR (365 * TOD_SECONDS_PER_DAY)
-#define TOD_MICROSECONDS_PER_SECOND 1000000
-#define TOD_MILLISECONDS_PER_SECOND 1000
+#define TOD_MICROSECONDS_PER_SECOND 1000000
+#define TOD_MILLISECONDS_PER_SECOND 1000
+#define TOD_NANOSECONDS_PER_MICROSECOND 1000
/*
* The following constant define the earliest year to which an
diff --git a/c/src/exec/score/include/rtems/score/tod.h b/c/src/exec/score/include/rtems/score/tod.h
index 3dd4e6d823..5e3a89756c 100644
--- a/c/src/exec/score/include/rtems/score/tod.h
+++ b/c/src/exec/score/include/rtems/score/tod.h
@@ -39,8 +39,9 @@ extern "C" {
#define TOD_SECONDS_PER_NON_LEAP_YEAR (365 * TOD_SECONDS_PER_DAY)
-#define TOD_MICROSECONDS_PER_SECOND 1000000
-#define TOD_MILLISECONDS_PER_SECOND 1000
+#define TOD_MICROSECONDS_PER_SECOND 1000000
+#define TOD_MILLISECONDS_PER_SECOND 1000
+#define TOD_NANOSECONDS_PER_MICROSECOND 1000
/*
* The following constant define the earliest year to which an