summaryrefslogtreecommitdiff
path: root/libc/signal/sigwait.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-23 21:25:45 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-23 21:25:45 +0000
commit9b92b36b830fcab65e8cb700ef26620d47d3879c (patch)
tree3df3512b860f8cee9f7c9f5303816aed037df3d9 /libc/signal/sigwait.c
parentac3b5716a728cc44038ab79be94f36f818c4d94d (diff)
make sigaction/raise/sigwait/siglongjmp/longjmp weak_alias, these are in libpthread as well
Diffstat (limited to 'libc/signal/sigwait.c')
-rw-r--r--libc/signal/sigwait.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/signal/sigwait.c b/libc/signal/sigwait.c
index 76321b148..e309c3e8f 100644
--- a/libc/signal/sigwait.c
+++ b/libc/signal/sigwait.c
@@ -24,8 +24,7 @@
libc_hidden_proto(sigwaitinfo)
-libc_hidden_proto(sigwait)
-int sigwait (const sigset_t *set, int *sig)
+int attribute_hidden __sigwait (const sigset_t *set, int *sig)
{
int ret = 1;
if ((ret = sigwaitinfo(set, NULL)) != -1) {
@@ -34,4 +33,6 @@ int sigwait (const sigset_t *set, int *sig)
}
return 1;
}
+libc_hidden_proto(sigwait)
+weak_alias(__sigwait,sigwait)
libc_hidden_def(sigwait)