summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_pselect.c
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2003-05-19 23:04:50 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2003-05-19 23:04:50 +0000
commit28f318b94128e82f8052861c958525c930f7d77a (patch)
tree40f53734ab843598c83e52d250d2e4c69ce3a826 /lib/libpthread/thread/thr_pselect.c
parent62d8fb93d0b842e9f259647ff42386875f37a0e2 (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_pselect.c')
-rw-r--r--lib/libpthread/thread/thr_pselect.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_pselect.c b/lib/libpthread/thread/thr_pselect.c
index c80a1cf8cfff..c1a4c5ddba0f 100644
--- a/lib/libpthread/thread/thr_pselect.c
+++ b/lib/libpthread/thread/thr_pselect.c
@@ -40,8 +40,10 @@ __FBSDID("$FreeBSD$");
extern int __pselect(int count, fd_set *rfds, fd_set *wfds, fd_set *efds,
const struct timespec *timo, const sigset_t *mask);
+__weak_reference(_pselect, pselect);
+
int
-pselect(int count, fd_set *rfds, fd_set *wfds, fd_set *efds,
+_pselect(int count, fd_set *rfds, fd_set *wfds, fd_set *efds,
const struct timespec *timo, const sigset_t *mask)
{
struct pthread *curthread = _get_curthread();