summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/pselect.c
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-10-12 16:13:41 +0000
committermike <mike@FreeBSD.org>2002-10-12 16:13:41 +0000
commit4d6bf1c3fb0816347ba09c47c02f040d71c13679 (patch)
tree8937b8185655025519cc44865535915faec9b620 /lib/libc/gen/pselect.c
parentca8c4bef3b2e3511a5dcd4e09b5f4e41a1cb8386 (diff)
downloadFreeBSD-src-4d6bf1c3fb0816347ba09c47c02f040d71c13679.zip
FreeBSD-src-4d6bf1c3fb0816347ba09c47c02f040d71c13679.tar.gz
Add restrict type-qualifier.
Diffstat (limited to 'lib/libc/gen/pselect.c')
-rw-r--r--lib/libc/gen/pselect.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/gen/pselect.c b/lib/libc/gen/pselect.c
index c2ec108..28066a2 100644
--- a/lib/libc/gen/pselect.c
+++ b/lib/libc/gen/pselect.c
@@ -47,8 +47,9 @@ __weak_reference(__pselect, pselect);
* 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,
- const struct timespec *timo, const sigset_t *mask)
+__pselect(int count, fd_set * __restrict rfds, fd_set * __restrict wfds,
+ fd_set * __restrict efds, const struct timespec * __restrict timo,
+ const sigset_t * __restrict mask)
{
sigset_t omask;
struct timeval tvtimo, *tvp;
OpenPOWER on IntegriCloud