diff options
| author | Jason Evans <jasone@FreeBSD.org> | 2000-01-12 09:28:58 +0000 |
|---|---|---|
| committer | Jason Evans <jasone@FreeBSD.org> | 2000-01-12 09:28:58 +0000 |
| commit | f560c4e709d6f3b1edb5349d928670577918afb8 (patch) | |
| tree | d979bd2ea9814f01e82a7f04298d08346e265a2d /lib/libpthread/thread/thr_read.c | |
| parent | 929273386f6e688c008b15fd24932df2ed7e7172 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_read.c')
| -rw-r--r-- | lib/libpthread/thread/thr_read.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_read.c b/lib/libpthread/thread/thr_read.c index 8cbb5be7b7b0..ad66df368c25 100644 --- a/lib/libpthread/thread/thr_read.c +++ b/lib/libpthread/thread/thr_read.c @@ -42,7 +42,7 @@ #include "pthread_private.h" ssize_t -read(int fd, void *buf, size_t nbytes) +_libc_read(int fd, void *buf, size_t nbytes) { int ret; int type; @@ -100,4 +100,6 @@ read(int fd, void *buf, size_t nbytes) _thread_leave_cancellation_point(); return (ret); } + +__weak_reference(_libc_read, read); #endif |
