diff options
Diffstat (limited to 'lib/libc_r/uthread/uthread_dup2.c')
-rw-r--r-- | lib/libc_r/uthread/uthread_dup2.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_dup2.c b/lib/libc_r/uthread/uthread_dup2.c index 2c9e9de..b8b8a73 100644 --- a/lib/libc_r/uthread/uthread_dup2.c +++ b/lib/libc_r/uthread/uthread_dup2.c @@ -38,7 +38,7 @@ #include "pthread_private.h" int -dup2(int fd, int newfd) +_libc_dup2(int fd, int newfd) { int ret; int newfd_opened; @@ -83,4 +83,6 @@ dup2(int fd, int newfd) /* Return the completion status: */ return (ret); } + +__weak_reference(_libc_dup2, dup2); #endif |