summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_pselect.c
diff options
context:
space:
mode:
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 c80a1cf..c1a4c5d 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();
OpenPOWER on IntegriCloud