summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_once.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/thread/thr_once.c')
-rw-r--r--lib/libpthread/thread/thr_once.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_once.c b/lib/libpthread/thread/thr_once.c
index dde5474..20e2904 100644
--- a/lib/libpthread/thread/thr_once.c
+++ b/lib/libpthread/thread/thr_once.c
@@ -34,7 +34,7 @@
#include <pthread.h>
#include "pthread_private.h"
-#pragma weak pthread_once=_pthread_once
+__weak_reference(_pthread_once, pthread_once);
int
_pthread_once(pthread_once_t * once_control, void (*init_routine) (void))
OpenPOWER on IntegriCloud