summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_switch_np.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/thread/thr_switch_np.c')
-rw-r--r--lib/libpthread/thread/thr_switch_np.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/thread/thr_switch_np.c b/lib/libpthread/thread/thr_switch_np.c
index e999259..f24d99f 100644
--- a/lib/libpthread/thread/thr_switch_np.c
+++ b/lib/libpthread/thread/thr_switch_np.c
@@ -37,8 +37,8 @@
#include "pthread_private.h"
-#pragma weak pthread_switch_add_np=_pthread_switch_add_np
-#pragma weak pthread_switch_delete_np=_pthread_switch_delete_np
+__weak_reference(_pthread_switch_add_np, pthread_switch_add_np);
+__weak_reference(_pthread_switch_delete_np, pthread_switch_delete_np);
int
_pthread_switch_add_np(pthread_switch_routine_t routine)
OpenPOWER on IntegriCloud