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/libpthread/thread/thr_select.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/libpthread/thread/thr_select.c') 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 -- cgit v1.1