summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/uthread/uthread_getsockopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/uthread/uthread_getsockopt.c')
-rw-r--r--lib/libc_r/uthread/uthread_getsockopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_getsockopt.c b/lib/libc_r/uthread/uthread_getsockopt.c
index cc90ae1..ad2d10e 100644
--- a/lib/libc_r/uthread/uthread_getsockopt.c
+++ b/lib/libc_r/uthread/uthread_getsockopt.c
@@ -36,7 +36,7 @@
#include <pthread.h>
#include "pthread_private.h"
-#pragma weak getsockopt=_getsockopt
+__weak_reference(_getsockopt, getsockopt);
int
_getsockopt(int fd, int level, int optname, void *optval, socklen_t
OpenPOWER on IntegriCloud