summaryrefslogtreecommitdiff
path: root/lib/libc/gen/pselect.c
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2002-06-27 13:23:46 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2002-06-27 13:23:46 +0000
commiteee80fbd9c375c51ac28eac9dfaaf5e1c1341f94 (patch)
tree8d2f9c171e9a7f18d7e74f2fa58412c81b9dc7a4 /lib/libc/gen/pselect.c
parent53154da0897d938b9f8c64a1ef48f66f98de6085 (diff)
Notes
Diffstat (limited to 'lib/libc/gen/pselect.c')
-rw-r--r--lib/libc/gen/pselect.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/gen/pselect.c b/lib/libc/gen/pselect.c
index 737631f64e14..c2ec1084beeb 100644
--- a/lib/libc/gen/pselect.c
+++ b/lib/libc/gen/pselect.c
@@ -38,6 +38,8 @@ __FBSDID("$FreeBSD$");
#include <signal.h>
#include "un-namespace.h"
+__weak_reference(__pselect, pselect);
+
/*
* Emulate the POSIX 1003.1g-2000 `pselect' interface. This is the
* same as the traditional BSD `select' function, except that it uses
@@ -45,7 +47,7 @@ __FBSDID("$FreeBSD$");
* and allows the user to specify a signal mask to apply during the select.
*/
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)
{
sigset_t omask;