summaryrefslogtreecommitdiff
path: root/libc/signal/raise.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-14 23:18:20 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-14 23:18:20 +0000
commitae7377cea8df3d2f2c122826f3df379786d719f3 (patch)
tree177f423d5dd4706141f7a94e4882644b59b502db /libc/signal/raise.c
parent497e902f95e415efabfa048ab750a89edbe4370f (diff)
Hide internally used symbols, use weak_alias for raise/sigwait, as they could be in libpthread too
Diffstat (limited to 'libc/signal/raise.c')
-rw-r--r--libc/signal/raise.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/signal/raise.c b/libc/signal/raise.c
index d4137aeb8..69b61385c 100644
--- a/libc/signal/raise.c
+++ b/libc/signal/raise.c
@@ -7,8 +7,11 @@
#include <signal.h>
#include <sys/types.h>
-int raise(int signo)
+#undef raise
+int attribute_hidden __raise(int signo)
{
return kill(getpid(), signo);
}
+/* psm: keep this weak, because the one in libpthread.so could overwrite it */
+weak_alias(__raise, raise)