summaryrefslogtreecommitdiffstats
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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/nanosleep.c b/libc/sysdeps/linux/common/nanosleep.c
index 3f5ffbaa3..0032f6623 100644
--- a/libc/sysdeps/linux/common/nanosleep.c
+++ b/libc/sysdeps/linux/common/nanosleep.c
@@ -13,5 +13,6 @@
#define __NR___libc_nanosleep __NR_nanosleep
_syscall2(int, __libc_nanosleep, const struct timespec *, req,
struct timespec *, rem);
-hidden_weak_alias(__libc_nanosleep,__nanosleep)
-weak_alias(__libc_nanosleep,nanosleep)
+strong_alias(__libc_nanosleep,nanosleep)
+libc_hidden_proto(nanosleep)
+libc_hidden_def(nanosleep)