diff options
Diffstat (limited to 'lib/libc_r/uthread/uthread_dup.c')
-rw-r--r-- | lib/libc_r/uthread/uthread_dup.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_dup.c b/lib/libc_r/uthread/uthread_dup.c index e32751a..63bd9bf 100644 --- a/lib/libc_r/uthread/uthread_dup.c +++ b/lib/libc_r/uthread/uthread_dup.c @@ -37,7 +37,7 @@ #include "pthread_private.h" int -dup(int fd) +_libc_dup(int fd) { int ret; @@ -67,4 +67,6 @@ dup(int fd) /* Return the completion status: */ return (ret); } + +__weak_reference(_libc_dup, dup); #endif |