summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_detach.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/thread/thr_detach.c')
-rw-r--r--lib/libpthread/thread/thr_detach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_detach.c b/lib/libpthread/thread/thr_detach.c
index c387926..0b3cfd7 100644
--- a/lib/libpthread/thread/thr_detach.c
+++ b/lib/libpthread/thread/thr_detach.c
@@ -35,7 +35,7 @@
#include <pthread.h>
#include "pthread_private.h"
-#pragma weak pthread_detach=_pthread_detach
+__weak_reference(_pthread_detach, pthread_detach);
int
_pthread_detach(pthread_t pthread)
OpenPOWER on IntegriCloud