diff options
Diffstat (limited to 'lib/libpthread/thread/thr_writev.c')
-rw-r--r-- | lib/libpthread/thread/thr_writev.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_writev.c b/lib/libpthread/thread/thr_writev.c index 375f599..74da521 100644 --- a/lib/libpthread/thread/thr_writev.c +++ b/lib/libpthread/thread/thr_writev.c @@ -44,7 +44,7 @@ #include "pthread_private.h" ssize_t -writev(int fd, const struct iovec * iov, int iovcnt) +_libc_writev(int fd, const struct iovec * iov, int iovcnt) { int blocking; int idx = 0; @@ -200,4 +200,6 @@ writev(int fd, const struct iovec * iov, int iovcnt) return (ret); } + +__weak_reference(_libc_writev, writev); #endif |