diff options
Diffstat (limited to 'hw/xquartz/applewm.c')
-rw-r--r-- | hw/xquartz/applewm.c | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/hw/xquartz/applewm.c b/hw/xquartz/applewm.c index 14be180a1..d2cca13f3 100644 --- a/hw/xquartz/applewm.c +++ b/hw/xquartz/applewm.c | |||
@@ -210,10 +210,7 @@ updateEventMask (WMEventPtr *pHead) | |||
210 | 210 | ||
211 | /*ARGSUSED*/ | 211 | /*ARGSUSED*/ |
212 | static int | 212 | static int |
213 | WMFreeClient (data, id) | 213 | WMFreeClient (pointer data, XID id) { |
214 | pointer data; | ||
215 | XID id; | ||
216 | { | ||
217 | WMEventPtr pEvent; | 214 | WMEventPtr pEvent; |
218 | WMEventPtr *pHead, pCur, pPrev; | 215 | WMEventPtr *pHead, pCur, pPrev; |
219 | 216 | ||
@@ -237,10 +234,7 @@ WMFreeClient (data, id) | |||
237 | 234 | ||
238 | /*ARGSUSED*/ | 235 | /*ARGSUSED*/ |
239 | static int | 236 | static int |
240 | WMFreeEvents (data, id) | 237 | WMFreeEvents (pointer data, XID id) { |
241 | pointer data; | ||
242 | XID id; | ||
243 | { | ||
244 | WMEventPtr *pHead, pCur, pNext; | 238 | WMEventPtr *pHead, pCur, pNext; |
245 | 239 | ||
246 | pHead = (WMEventPtr *) data; | 240 | pHead = (WMEventPtr *) data; |
@@ -344,10 +338,7 @@ ProcAppleWMSelectInput (register ClientPtr client) | |||
344 | */ | 338 | */ |
345 | 339 | ||
346 | void | 340 | void |
347 | AppleWMSendEvent (type, mask, which, arg) | 341 | AppleWMSendEvent (int type, unsigned int mask, int which, int arg) { |
348 | int type, which, arg; | ||
349 | unsigned int mask; | ||
350 | { | ||
351 | WMEventPtr *pHead, pEvent; | 342 | WMEventPtr *pHead, pEvent; |
352 | ClientPtr client; | 343 | ClientPtr client; |
353 | xAppleWMNotifyEvent se; | 344 | xAppleWMNotifyEvent se; |
@@ -712,9 +703,7 @@ ProcAppleWMDispatch ( | |||
712 | } | 703 | } |
713 | 704 | ||
714 | static void | 705 | static void |
715 | SNotifyEvent(from, to) | 706 | SNotifyEvent(xAppleWMNotifyEvent *from, xAppleWMNotifyEvent *to) { |
716 | xAppleWMNotifyEvent *from, *to; | ||
717 | { | ||
718 | to->type = from->type; | 707 | to->type = from->type; |
719 | to->kind = from->kind; | 708 | to->kind = from->kind; |
720 | cpswaps (from->sequenceNumber, to->sequenceNumber); | 709 | cpswaps (from->sequenceNumber, to->sequenceNumber); |