summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_select.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/libpthread/thread/thr_select.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/libpthread/thread/thr_select.c')
-rw-r--r--lib/libpthread/thread/thr_select.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libpthread/thread/thr_select.c b/lib/libpthread/thread/thr_select.c
index 9bfae89..a7ceecc 100644
--- a/lib/libpthread/thread/thr_select.c
+++ b/lib/libpthread/thread/thr_select.c
@@ -45,8 +45,8 @@
#include "pthread_private.h"
int
-select(int numfds, fd_set * readfds, fd_set * writefds,
- fd_set * exceptfds, struct timeval * timeout)
+_libc_select(int numfds, fd_set * readfds, fd_set * writefds, fd_set *
+ exceptfds, struct timeval * timeout)
{
struct timespec ts;
int i, ret = 0, f_wait = 1;
@@ -203,4 +203,6 @@ select(int numfds, fd_set * readfds, fd_set * writefds,
return (ret);
}
+
+__weak_reference(_libc_select, select);
#endif
OpenPOWER on IntegriCloud