diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-10-28 14:55:22 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-10-31 11:09:25 -0300 |
commit | c81aa64e81826c308c4ecbd1982fa086ca6e647b (patch) | |
tree | 5c11f548813e9b580ef0b47e1c983154f6d8d816 /include | |
parent | 6b1472eb2ea16f99c4729f975ca25af980ce3894 (diff) | |
download | glibc-c81aa64e81826c308c4ecbd1982fa086ca6e647b.tar.gz glibc-c81aa64e81826c308c4ecbd1982fa086ca6e647b.tar.xz 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.h | 5 |
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; |