summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/uthread/uthread_yield.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/uthread/uthread_yield.c')
-rw-r--r--lib/libc_r/uthread/uthread_yield.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc_r/uthread/uthread_yield.c b/lib/libc_r/uthread/uthread_yield.c
index 67ca501..ec89255 100644
--- a/lib/libc_r/uthread/uthread_yield.c
+++ b/lib/libc_r/uthread/uthread_yield.c
@@ -34,8 +34,8 @@
#include <pthread.h>
#include "pthread_private.h"
-#pragma weak sched_yield=_sched_yield
-#pragma weak pthread_yield=_pthread_yield
+__weak_reference(_sched_yield, sched_yield);
+__weak_reference(_pthread_yield, pthread_yield);
int
_sched_yield(void)
OpenPOWER on IntegriCloud