summaryrefslogtreecommitdiff
path: root/libc/signal/raise.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/raise.c
parentac3b5716a728cc44038ab79be94f36f818c4d94d (diff)
make sigaction/raise/sigwait/siglongjmp/longjmp weak_alias, these are in libpthread as well
Diffstat (limited to 'libc/signal/raise.c')
-rw-r--r--libc/signal/raise.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/signal/raise.c b/libc/signal/raise.c
index 09beba0d6..c092cb12b 100644
--- a/libc/signal/raise.c
+++ b/libc/signal/raise.c
@@ -8,13 +8,14 @@
#include <signal.h>
#include <sys/types.h>
-libc_hidden_proto(raise)
libc_hidden_proto(getpid)
libc_hidden_proto(kill)
-int raise(int signo)
+int attribute_hidden __raise(int signo)
{
return kill(getpid(), signo);
}
+libc_hidden_proto(raise)
+weak_alias(__raise,raise)
libc_hidden_def(raise)