[git commit nptl] raise: remove unused hidden weak symbol __raise

Denys Vlasenko vda.linux at googlemail.com
Sat Sep 19 02:00:48 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=490db039f2961032240fdafcdd6a2fc06518e44c
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl

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 at googlemail.com>
Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
 libc/signal/raise.c |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/libc/signal/raise.c b/libc/signal/raise.c
index 1ac549d..aed9b46 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)
-- 
1.6.3.3



More information about the uClibc-cvs mailing list