about summary refs log tree commit diff
path: root/include/sys/timex.h
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-01-12 19:14:34 +0100
committerSzabolcs Nagy <nsz@port70.net>2013-01-12 19:42:39 +0100
commit200f96c6a04cb1b3af702968b86c363c6a73a50b (patch)
treecfbb7473dc023b59daa810e314850b36274f6dac /include/sys/timex.h
parentd650631dad1691ad778b2d7afd77ee77d8546d9a (diff)
downloadmusl-200f96c6a04cb1b3af702968b86c363c6a73a50b.tar.gz
musl-200f96c6a04cb1b3af702968b86c363c6a73a50b.tar.xz
musl-200f96c6a04cb1b3af702968b86c363c6a73a50b.zip
add MOD_TAI to sys/timex.h and update STA_RONLY
Diffstat (limited to 'include/sys/timex.h')
-rw-r--r--include/sys/timex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sys/timex.h b/include/sys/timex.h
index f37c13ce..08f4b094 100644
--- a/include/sys/timex.h
+++ b/include/sys/timex.h
@@ -50,6 +50,7 @@ struct timex {
 #define MOD_TIMECONST	ADJ_TIMECONST
 #define MOD_CLKB	ADJ_TICK
 #define MOD_CLKA	ADJ_OFFSET_SINGLESHOT
+#define MOD_TAI		ADJ_TAI
 #define MOD_MICRO	ADJ_MICRO
 #define MOD_NANO	ADJ_NANO
 
@@ -74,7 +75,7 @@ struct timex {
 #define STA_CLK		0x8000
 
 #define STA_RONLY (STA_PPSSIGNAL | STA_PPSJITTER | STA_PPSWANDER | \
-    STA_PPSERROR | STA_CLOCKERR)
+    STA_PPSERROR | STA_CLOCKERR | STA_NANO | STA_MODE | STA_CLK)
 
 #define TIME_OK		0
 #define TIME_INS	1