summaryrefslogtreecommitdiff
path: root/libc/signal/raise.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/signal/raise.c')
-rw-r--r--libc/signal/raise.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libc/signal/raise.c b/libc/signal/raise.c
index 5a964c4b6..09beba0d6 100644
--- a/libc/signal/raise.c
+++ b/libc/signal/raise.c
@@ -3,18 +3,18 @@
* under the GNU Library General Public License.
*/
-#define kill __kill
-
#include <unistd.h>
#include <string.h>
#include <signal.h>
#include <sys/types.h>
-#undef raise
-int attribute_hidden __raise(int signo)
+libc_hidden_proto(raise)
+
+libc_hidden_proto(getpid)
+libc_hidden_proto(kill)
+
+int raise(int signo)
{
- return kill(__getpid(), signo);
+ return kill(getpid(), signo);
}
-
-/* psm: keep this weak, because the one in libpthread.so could overwrite it */
-weak_alias(__raise, raise)
+libc_hidden_def(raise)