diff options
Diffstat (limited to 'lib/libc_r/uthread/uthread_accept.c')
-rw-r--r-- | lib/libc_r/uthread/uthread_accept.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_accept.c b/lib/libc_r/uthread/uthread_accept.c index c703b8c..9d1bcd8 100644 --- a/lib/libc_r/uthread/uthread_accept.c +++ b/lib/libc_r/uthread/uthread_accept.c @@ -41,7 +41,7 @@ #include "pthread_private.h" int -accept(int fd, struct sockaddr * name, socklen_t *namelen) +_libc_accept(int fd, struct sockaddr * name, socklen_t *namelen) { int ret; @@ -106,4 +106,6 @@ accept(int fd, struct sockaddr * name, socklen_t *namelen) /* Return the socket file descriptor or -1 on error: */ return (ret); } + +__weak_reference(_libc_accept, accept); #endif |