summaryrefslogtreecommitdiff
path: root/hw/xnest
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 /hw/xnest
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 'hw/xnest')
-rw-r--r--hw/xnest/Handlers.c4
-rw-r--r--hw/xnest/Handlers.h5
2 files changed, 4 insertions, 5 deletions
diff --git a/hw/xnest/Handlers.c b/hw/xnest/Handlers.c
index 05d559d8f..e90a6168f 100644
--- a/hw/xnest/Handlers.c
+++ b/hw/xnest/Handlers.c
@@ -32,14 +32,14 @@ is" without express or implied warranty.
#include "Handlers.h"
void
-xnestBlockHandler(void *blockData, OSTimePtr pTimeout, void *pReadMask)
+xnestBlockHandler(void *blockData, void *timout)
{
xnestCollectExposures();
XFlush(xnestDisplay);
}
void
-xnestWakeupHandler(void *blockData, int result, void *pReadMask)
+xnestWakeupHandler(void *blockData, int result)
{
xnestCollectEvents();
}
diff --git a/hw/xnest/Handlers.h b/hw/xnest/Handlers.h
index d4ad6d254..6ebcc8b98 100644
--- a/hw/xnest/Handlers.h
+++ b/hw/xnest/Handlers.h
@@ -15,8 +15,7 @@ is" without express or implied warranty.
#ifndef XNESTHANDLERS_H
#define XNESTHANDLERS_H
-void xnestBlockHandler(void *blockData, OSTimePtr pTimeout,
- void *pReadMask);
-void xnestWakeupHandler(void *blockData, int result, void *pReadMask);
+void xnestBlockHandler(void *blockData, void *timeout);
+void xnestWakeupHandler(void *blockData, int result);
#endif /* XNESTHANDLERS_H */