summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/uthread/uthread_getschedparam.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/uthread/uthread_getschedparam.c')
-rw-r--r--lib/libc_r/uthread/uthread_getschedparam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_getschedparam.c b/lib/libc_r/uthread/uthread_getschedparam.c
index 02f27c2..0d1ffe9 100644
--- a/lib/libc_r/uthread/uthread_getschedparam.c
+++ b/lib/libc_r/uthread/uthread_getschedparam.c
@@ -35,7 +35,7 @@
#include <pthread.h>
#include "pthread_private.h"
-#pragma weak pthread_getschedparam=_pthread_getschedparam
+__weak_reference(_pthread_getschedparam, pthread_getschedparam);
int
_pthread_getschedparam(pthread_t pthread, int *policy,
OpenPOWER on IntegriCloud