summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_readv.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/thread/thr_readv.c')
-rw-r--r--lib/libpthread/thread/thr_readv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_readv.c b/lib/libpthread/thread/thr_readv.c
index a1a862d..c1965d8 100644
--- a/lib/libpthread/thread/thr_readv.c
+++ b/lib/libpthread/thread/thr_readv.c
@@ -42,7 +42,7 @@
#include "pthread_private.h"
ssize_t
-readv(int fd, const struct iovec * iov, int iovcnt)
+_libc_readv(int fd, const struct iovec * iov, int iovcnt)
{
int ret;
int type;
@@ -90,4 +90,6 @@ readv(int fd, const struct iovec * iov, int iovcnt)
}
return (ret);
}
+
+__weak_reference(_libc_readv, readv);
#endif
OpenPOWER on IntegriCloud