summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/pt-raise.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/pt-raise.c')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/pt-raise.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/pt-raise.c b/libpthread/nptl/sysdeps/unix/sysv/linux/pt-raise.c
index 7bee29784..d256ebcb0 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/pt-raise.c
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/pt-raise.c
@@ -23,8 +23,10 @@
#include <tls.h>
#include <bits/kernel-features.h>
-extern __typeof(raise) __raise;
-int __raise (int sig)
+
+int
+raise (
+ int sig)
{
#if __ASSUME_TGKILL || defined __NR_tgkill
/* raise is an async-safe function. It could be called while the
@@ -48,6 +50,3 @@ int __raise (int sig)
return INLINE_SYSCALL (tkill, 2, THREAD_GETMEM (THREAD_SELF, tid), sig);
#endif
}
-libc_hidden_proto(raise)
-weak_alias(__raise, raise)
-libc_hidden_weak(raise)