aboutsummaryrefslogtreecommitdiff
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
parentRefactor PI mutexes internal definitions (diff)
downloadglibc-c81aa64e81826c308c4ecbd1982fa086ca6e647b.tar.gz
glibc-c81aa64e81826c308c4ecbd1982fa086ca6e647b.tar.bz2
glibc-c81aa64e81826c308c4ecbd1982fa086ca6e647b.zip
Refactor adjtimex based on clock_adjtime
Checked on x86_64-linux-gnu. Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/time.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h
index caf562a380..000672e3bc 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;