summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/uthread/uthread_socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/uthread/uthread_socket.c')
-rw-r--r--lib/libc_r/uthread/uthread_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_socket.c b/lib/libc_r/uthread/uthread_socket.c
index cbbbe82..28b5a72 100644
--- a/lib/libc_r/uthread/uthread_socket.c
+++ b/lib/libc_r/uthread/uthread_socket.c
@@ -38,7 +38,7 @@
#include <pthread.h>
#include "pthread_private.h"
-#pragma weak socket=_socket
+__weak_reference(_socket, socket);
int
_socket(int af, int type, int protocol)
OpenPOWER on IntegriCloud