Checked on x86_64-linux-gnu.
Reviewed-by: Florian Weimer <fweimer@redhat.com>
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;
int
___adjtimex (struct timex *buf)
{
- return INLINE_SYSCALL_CALL (adjtimex, buf);
+ return __clock_adjtime (CLOCK_REALTIME, buf);
}
#ifdef VERSION_adjtimex
bdflush EXTRA bdflush i:ii __compat_bdflush bdflush@GLIBC_2.0:GLIBC_2.23
capget EXTRA capget i:pp capget
capset EXTRA capset i:pp capset
-clock_adjtime EXTRA clock_adjtime i:ip clock_adjtime
+clock_adjtime EXTRA clock_adjtime i:ip __clock_adjtime clock_adjtime
create_module EXTRA create_module 3 __compat_create_module create_module@GLIBC_2.0:GLIBC_2.23
delete_module EXTRA delete_module 3 delete_module
epoll_create EXTRA epoll_create i:i epoll_create