From 4b4a2e733a2332d82db33d43f90c3e14fb0ff31e Mon Sep 17 00:00:00 2001 From: jasone Date: Wed, 12 Jan 2000 09:28:58 +0000 Subject: Track libc's three-tier symbol naming. libc_r must currently implement the _libc_*() entry points and add *() weak aliases. This will all change for the better when libc_r becomes libpthread. --- lib/libc_r/uthread/uthread_write.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/libc_r/uthread/uthread_write.c') diff --git a/lib/libc_r/uthread/uthread_write.c b/lib/libc_r/uthread/uthread_write.c index 40c4cc5..f25c606 100644 --- a/lib/libc_r/uthread/uthread_write.c +++ b/lib/libc_r/uthread/uthread_write.c @@ -42,7 +42,7 @@ #include "pthread_private.h" ssize_t -write(int fd, const void *buf, size_t nbytes) +_libc_write(int fd, const void *buf, size_t nbytes) { int blocking; int type; @@ -136,4 +136,6 @@ write(int fd, const void *buf, size_t nbytes) _thread_leave_cancellation_point(); return (ret); } + +__weak_reference(_libc_write, write); #endif -- cgit v1.1