summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/uthread/uthread_pipe.c
diff options
context:
space:
mode:
authorjasone <jasone@FreeBSD.org>2000-01-12 09:28:58 +0000
committerjasone <jasone@FreeBSD.org>2000-01-12 09:28:58 +0000
commit4b4a2e733a2332d82db33d43f90c3e14fb0ff31e (patch)
tree5f61d93336476ecbaf8b9665c656c202589b1e08 /lib/libc_r/uthread/uthread_pipe.c
parent75903038bc52105bc7479fe5f2b75f22f10c1c50 (diff)
downloadFreeBSD-src-4b4a2e733a2332d82db33d43f90c3e14fb0ff31e.zip
FreeBSD-src-4b4a2e733a2332d82db33d43f90c3e14fb0ff31e.tar.gz
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.
Diffstat (limited to 'lib/libc_r/uthread/uthread_pipe.c')
-rw-r--r--lib/libc_r/uthread/uthread_pipe.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_pipe.c b/lib/libc_r/uthread/uthread_pipe.c
index 72ed6c9..b815e1a 100644
--- a/lib/libc_r/uthread/uthread_pipe.c
+++ b/lib/libc_r/uthread/uthread_pipe.c
@@ -38,7 +38,7 @@
#include "pthread_private.h"
int
-pipe(int fds[2])
+_libc_pipe(int fds[2])
{
int ret;
if ((ret = _thread_sys_pipe(fds)) >= 0) {
@@ -51,4 +51,6 @@ pipe(int fds[2])
}
return (ret);
}
+
+__weak_reference(_libc_pipe, pipe);
#endif
OpenPOWER on IntegriCloud