summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorLeonid Lisovskiy <lly.dev@gmail.com>2016-01-23 23:26:56 +0300
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-01-31 17:41:01 +0100
commitfb6a51ed43626cb16bda3d75b28b26cfb1449e52 (patch)
tree743e523d4c632530127ceb3796902f24ee14adbe /libc/sysdeps
parent7c89984515021f3b3b1ad486c379f0eac1ad2605 (diff)
Provide __adjtimex() alias, like glibc.
Althought recent versions of sofware don't require it, old ntpd wants - see http://bugs.ntp.org/show_bug.cgi?id=769 Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com> Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/adjtimex.c1
1 files changed, 1 insertions, 0 deletions
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