From c81aa64e81826c308c4ecbd1982fa086ca6e647b Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Mon, 28 Oct 2019 14:55:22 -0300 Subject: Refactor adjtimex based on clock_adjtime Checked on x86_64-linux-gnu. Reviewed-by: Florian Weimer --- include/time.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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; -- cgit v1.2.3-65-gdbad