summaryrefslogtreecommitdiff
path: root/os/WaitFor.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-09-01 18:51:14 -0700
committerAdam Jackson <ajax@redhat.com>2016-07-18 15:27:51 -0400
commit9d15912aa475b733bbb20efc367a67dacad63bf1 (patch)
treebdbad787bf5be280df99636b37350158da233a8e /os/WaitFor.c
parentfb0802113b4c57819cba15d64baf79bf4148607e (diff)
Remove fd_set from Block/Wakeup handler API
This removes the last uses of fd_set from the server interfaces outside of the OS layer itself. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'os/WaitFor.c')
-rw-r--r--os/WaitFor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/WaitFor.c b/os/WaitFor.c
index b82f82627..24e1afc81 100644
--- a/os/WaitFor.c
+++ b/os/WaitFor.c
@@ -208,7 +208,7 @@ WaitForSomething(int *pClientsReady)
XFD_COPYSET(&AllSockets, &LastSelectMask);
}
- BlockHandler((void *) &wt, (void *) &LastSelectMask);
+ BlockHandler(&wt);
if (NewOutputPending)
FlushAllOutput();
/* keep this check close to select() call to minimize race */
@@ -223,7 +223,7 @@ WaitForSomething(int *pClientsReady)
i = Select(MaxClients, &LastSelectMask, NULL, NULL, wt);
}
selecterr = GetErrno();
- WakeupHandler(i, (void *) &LastSelectMask);
+ WakeupHandler(i);
if (i <= 0) { /* An error or timeout occurred */
if (dispatchException)
return 0;