summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/pselect.c
diff options
context:
space:
mode:
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