summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/__rt_sigtimedwait.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/__rt_sigtimedwait.c b/libc/sysdeps/linux/common/__rt_sigtimedwait.c
index 01cf8f456..09409fe81 100644
--- a/libc/sysdeps/linux/common/__rt_sigtimedwait.c
+++ b/libc/sysdeps/linux/common/__rt_sigtimedwait.c
@@ -46,5 +46,6 @@ int attribute_hidden __sigtimedwait(const sigset_t * set, siginfo_t * info,
return -1;
}
#endif
-strong_alias(__sigtimedwait,sigtimedwait)
-strong_alias(__sigwaitinfo,sigwaitinfo)
+/* keep these weak so that libpthread can overwrite them */
+weak_alias(__sigtimedwait,sigtimedwait)
+weak_alias(__sigwaitinfo,sigwaitinfo)