mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-24 20:55:49 +00:00
Xext: ANSI cleanups
This commit is contained in:
parent
7a05c8b1e7
commit
292311b421
10 changed files with 124 additions and 254 deletions
|
|
@ -78,13 +78,10 @@ static void SertafiedWakeupHandler(
|
|||
);
|
||||
|
||||
int
|
||||
ClientSleepUntil (client, revive, notifyFunc, closure)
|
||||
ClientPtr client;
|
||||
TimeStamp *revive;
|
||||
void (*notifyFunc)(
|
||||
ClientPtr /* client */,
|
||||
pointer /* closure */);
|
||||
pointer closure;
|
||||
ClientSleepUntil (ClientPtr client,
|
||||
TimeStamp *revive,
|
||||
void (*notifyFunc)(ClientPtr, pointer),
|
||||
pointer closure)
|
||||
{
|
||||
SertafiedPtr pRequest, pReq, pPrev;
|
||||
|
||||
|
|
@ -138,9 +135,7 @@ ClientSleepUntil (client, revive, notifyFunc, closure)
|
|||
}
|
||||
|
||||
static void
|
||||
ClientAwaken (client, closure)
|
||||
ClientPtr client;
|
||||
pointer closure;
|
||||
ClientAwaken (ClientPtr client, pointer closure)
|
||||
{
|
||||
if (!client->clientGone)
|
||||
AttendClient (client);
|
||||
|
|
@ -148,9 +143,7 @@ ClientAwaken (client, closure)
|
|||
|
||||
|
||||
static int
|
||||
SertafiedDelete (value, id)
|
||||
pointer value;
|
||||
XID id;
|
||||
SertafiedDelete (pointer value, XID id)
|
||||
{
|
||||
SertafiedPtr pRequest = (SertafiedPtr)value;
|
||||
SertafiedPtr pReq, pPrev;
|
||||
|
|
@ -172,10 +165,7 @@ SertafiedDelete (value, id)
|
|||
}
|
||||
|
||||
static void
|
||||
SertafiedBlockHandler (data, wt, LastSelectMask)
|
||||
pointer data; /* unused */
|
||||
OSTimePtr wt; /* wait time */
|
||||
pointer LastSelectMask;
|
||||
SertafiedBlockHandler (pointer data, OSTimePtr wt, pointer LastSelectMask)
|
||||
{
|
||||
SertafiedPtr pReq, pNext;
|
||||
unsigned long delay;
|
||||
|
|
@ -208,10 +198,7 @@ SertafiedBlockHandler (data, wt, LastSelectMask)
|
|||
}
|
||||
|
||||
static void
|
||||
SertafiedWakeupHandler (data, i, LastSelectMask)
|
||||
pointer data;
|
||||
int i;
|
||||
pointer LastSelectMask;
|
||||
SertafiedWakeupHandler (pointer data, int i, pointer LastSelectMask)
|
||||
{
|
||||
SertafiedPtr pReq, pNext;
|
||||
TimeStamp now;
|
||||
|
|
|
|||
Loading…
Reference in a new issue