diff options
author | jasone <jasone@FreeBSD.org> | 2000-01-12 09:28:58 +0000 |
---|---|---|
committer | jasone <jasone@FreeBSD.org> | 2000-01-12 09:28:58 +0000 |
commit | 4b4a2e733a2332d82db33d43f90c3e14fb0ff31e (patch) | |
tree | 5f61d93336476ecbaf8b9665c656c202589b1e08 /lib/libpthread/thread/thr_close.c | |
parent | 75903038bc52105bc7479fe5f2b75f22f10c1c50 (diff) | |
download | FreeBSD-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/libpthread/thread/thr_close.c')
-rw-r--r-- | lib/libpthread/thread/thr_close.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_close.c b/lib/libpthread/thread/thr_close.c index 2580fce..fe2d9e2 100644 --- a/lib/libpthread/thread/thr_close.c +++ b/lib/libpthread/thread/thr_close.c @@ -41,7 +41,7 @@ #include "pthread_private.h" int -close(int fd) +_libc_close(int fd) { int flags; int ret; @@ -102,4 +102,6 @@ close(int fd) _thread_leave_cancellation_point(); return (ret); } + +__weak_reference(_libc_close, close); #endif |