summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_kill.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/thread/thr_kill.c')
-rw-r--r--lib/libpthread/thread/thr_kill.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/thread/thr_kill.c b/lib/libpthread/thread/thr_kill.c
index 4bf1761..7a24ffb 100644
--- a/lib/libpthread/thread/thr_kill.c
+++ b/lib/libpthread/thread/thr_kill.c
@@ -33,12 +33,13 @@
*/
#include <errno.h>
#include <signal.h>
-#ifdef _THREAD_SAFE
#include <pthread.h>
#include "pthread_private.h"
+#pragma weak pthread_kill=_pthread_kill
+
int
-pthread_kill(pthread_t pthread, int sig)
+_pthread_kill(pthread_t pthread, int sig)
{
int ret;
@@ -71,4 +72,3 @@ pthread_kill(pthread_t pthread, int sig)
/* Return the completion status: */
return (ret);
}
-#endif
OpenPOWER on IntegriCloud