aboutsummaryrefslogtreecommitdiff
path: root/include/time.h
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-10-28 14:55:22 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-10-31 11:09:25 -0300
commitc81aa64e81826c308c4ecbd1982fa086ca6e647b (patch)
tree5c11f548813e9b580ef0b47e1c983154f6d8d816 /include/time.h
parent6b1472eb2ea16f99c4729f975ca25af980ce3894 (diff)
downloadglibc-c81aa64e81826c308c4ecbd1982fa086ca6e647b.zip
glibc-c81aa64e81826c308c4ecbd1982fa086ca6e647b.tar.gz
glibc-c81aa64e81826c308c4ecbd1982fa086ca6e647b.tar.bz2
Refactor adjtimex based on clock_adjtime
Checked on x86_64-linux-gnu. Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'include/time.h')
-rw-r--r--include/time.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h
index caf562a..000672e 100644
--- a/include/time.h
+++ b/include/time.h
@@ -25,6 +25,11 @@ libc_hidden_proto (__clock_gettime)
extern __typeof (clock_settime) __clock_settime;
libc_hidden_proto (__clock_settime)
+#ifdef __linux__
+extern __typeof (clock_adjtime) __clock_adjtime;
+libc_hidden_proto (__clock_adjtime);
+#endif
+
/* Now define the internal interfaces. */
struct tm;