Adapt Block and Wakeup handlers prototypes to X server 1.20.
No functional change.
This commit is contained in:
parent
77671420b9
commit
c0e6abce88
@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: wsudl_driver.c,v 1.12 2019/06/30 17:10:24 matthieu Exp $ */
|
/* $OpenBSD: wsudl_driver.c,v 1.13 2019/08/08 12:04:36 matthieu Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009 Marcus Glocker <mglocker@openbsd.org>
|
* Copyright (c) 2009 Marcus Glocker <mglocker@openbsd.org>
|
||||||
@ -121,9 +121,8 @@ static void WsudlLoadPalette(ScrnInfoPtr, int, int *,
|
|||||||
static Bool WsudlSaveScreen(ScreenPtr, int);
|
static Bool WsudlSaveScreen(ScreenPtr, int);
|
||||||
static void WsudlRestore(ScrnInfoPtr);
|
static void WsudlRestore(ScrnInfoPtr);
|
||||||
static Bool WsudlDamageInit(ScreenPtr);
|
static Bool WsudlDamageInit(ScreenPtr);
|
||||||
static void WsudlBlockHandler(pointer, struct timeval **,
|
static void WsudlBlockHandler(pointer, pointer);
|
||||||
pointer);
|
static void WsudlWakeupHandler(pointer, int);
|
||||||
static void WsudlWakeupHandler(pointer, int, pointer);
|
|
||||||
/* helper functions */
|
/* helper functions */
|
||||||
static int wsudl_open(const char *);
|
static int wsudl_open(const char *);
|
||||||
|
|
||||||
@ -799,8 +798,7 @@ WsudlDamageInit(ScreenPtr pScreen)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
WsudlBlockHandler(pointer data, struct timeval **waitTime,
|
WsudlBlockHandler(pointer data, pointer waitTime)
|
||||||
pointer LastSelectMask)
|
|
||||||
{
|
{
|
||||||
ScreenPtr pScreen = (ScreenPtr)data;
|
ScreenPtr pScreen = (ScreenPtr)data;
|
||||||
ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
|
ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
|
||||||
@ -849,7 +847,7 @@ WsudlBlockHandler(pointer data, struct timeval **waitTime,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
WsudlWakeupHandler(pointer data, int i, pointer LastSelectMask)
|
WsudlWakeupHandler(pointer data, int i)
|
||||||
{
|
{
|
||||||
/* nothing todo yet */
|
/* nothing todo yet */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user