summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sys/timex.h2
-rw-r--r--libc/sysdeps/linux/common/adjtimex.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/include/sys/timex.h b/include/sys/timex.h
index 57059bd14..4cb81d208 100644
--- a/include/sys/timex.h
+++ b/include/sys/timex.h
@@ -120,9 +120,7 @@ struct timex
__BEGIN_DECLS
-#if 0
extern int __adjtimex (struct timex *__ntx) __THROW;
-#endif
extern int adjtimex (struct timex *__ntx) __THROW;
libc_hidden_proto(adjtimex)
diff --git a/libc/sysdeps/linux/common/adjtimex.c b/libc/sysdeps/linux/common/adjtimex.c
index 45cb38495..199650245 100644
--- a/libc/sysdeps/linux/common/adjtimex.c
+++ b/libc/sysdeps/linux/common/adjtimex.c
@@ -13,6 +13,7 @@
_syscall1(int, adjtimex, struct timex *, buf)
libc_hidden_def(adjtimex)
+weak_alias(adjtimex,__adjtimex)
#if defined __UCLIBC_NTP_LEGACY__
strong_alias(adjtimex,ntp_adjtime)
#endif