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