summaryrefslogtreecommitdiff
path: root/libc/signal/raise.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-09-19 02:51:20 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-09-19 02:51:20 +0200
commit2528a3f6c2fa13d55eb1d65be9978e59cc39df8b (patch)
tree4fca2f366ea089bc48157c14e5fd4308aec3b50e /libc/signal/raise.c
parent2bfc16f23dd881143ca01bf2fb41fe57b2d4a748 (diff)
raise: remove unused hidden weak symbol __raise
It is not used by anybody, otherwise users of dynamically linked uclibc would notice - it is not exported from libuClibc-x.x.x.so Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libc/signal/raise.c')
-rw-r--r--libc/signal/raise.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/libc/signal/raise.c b/libc/signal/raise.c
index 1ac549d2f..aed9b46d7 100644
--- a/libc/signal/raise.c
+++ b/libc/signal/raise.c
@@ -7,12 +7,8 @@
#include <signal.h>
#include <sys/types.h>
-
-
-int __raise (int signo) attribute_hidden;
-int __raise(int signo)
+int raise(int signo)
{
- return kill(getpid(), signo);
+ return kill(getpid(), signo);
}
-weak_alias(__raise,raise)
libc_hidden_def(raise)