diff options
Diffstat (limited to 'lib/libc_r/uthread/uthread_socketpair.c')
-rw-r--r-- | lib/libc_r/uthread/uthread_socketpair.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_socketpair.c b/lib/libc_r/uthread/uthread_socketpair.c index 47386d3..f35ab94 100644 --- a/lib/libc_r/uthread/uthread_socketpair.c +++ b/lib/libc_r/uthread/uthread_socketpair.c @@ -41,7 +41,7 @@ #include "pthread_private.h" int -socketpair(int af, int type, int protocol, int pair[2]) +_libc_socketpair(int af, int type, int protocol, int pair[2]) { int ret; if (!((ret = _thread_sys_socketpair(af, type, protocol, pair)) < 0)) @@ -53,4 +53,6 @@ socketpair(int af, int type, int protocol, int pair[2]) } return (ret); } + +__weak_reference(_libc_socketpair, socketpair); #endif |