summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/nanosleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/nanosleep.c')
-rw-r--r--libc/sysdeps/linux/common/nanosleep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/nanosleep.c b/libc/sysdeps/linux/common/nanosleep.c
index 00629e79e..3f5ffbaa3 100644
--- a/libc/sysdeps/linux/common/nanosleep.c
+++ b/libc/sysdeps/linux/common/nanosleep.c
@@ -13,4 +13,5 @@
#define __NR___libc_nanosleep __NR_nanosleep
_syscall2(int, __libc_nanosleep, const struct timespec *, req,
struct timespec *, rem);
-weak_alias(__libc_nanosleep, nanosleep);
+hidden_weak_alias(__libc_nanosleep,__nanosleep)
+weak_alias(__libc_nanosleep,nanosleep)