summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-06 03:56:14 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-06 03:56:14 +0000
commit4c239f07267adbf7c4df9fcb678f0abc246b2460 (patch)
treebc6c094b26b9f0ae16261d0cb0bdf0f07216a4a6 /libc/sysdeps/linux
parent43dcd01c49a90679f5f58aa008298c1f3b1cc18b (diff)
We need these aliases to stay so that NPTL can override them.
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/__rt_sigtimedwait.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/__rt_sigtimedwait.c b/libc/sysdeps/linux/common/__rt_sigtimedwait.c
index 3c3d99c2a..8862bc95b 100644
--- a/libc/sysdeps/linux/common/__rt_sigtimedwait.c
+++ b/libc/sysdeps/linux/common/__rt_sigtimedwait.c
@@ -16,16 +16,18 @@
static _syscall4(int, __rt_sigtimedwait, const sigset_t *, set, siginfo_t *, info,
const struct timespec *, timeout, size_t, setsize);
-int sigwaitinfo(const sigset_t * set, siginfo_t * info)
+int attribute_hidden __sigwaitinfo(const sigset_t * set, siginfo_t * info)
{
return __rt_sigtimedwait(set, info, NULL, _NSIG / 8);
}
-int sigtimedwait(const sigset_t * set, siginfo_t * info,
+int attribute_hidden __sigtimedwait(const sigset_t * set, siginfo_t * info,
const struct timespec *timeout)
{
return __rt_sigtimedwait(set, info, timeout, _NSIG / 8);
}
+weak_alias (__sigtimedwait, sigtimedwait)
+weak_alias (__sigwaitinfo, sigwaitinfo)
#else
int sigwaitinfo(const sigset_t * set, siginfo_t * info)
{