diff options
author | Adam Jackson <ajax@nwnk.net> | 2006-02-20 21:50:49 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2006-02-20 21:50:49 +0000 |
commit | 5480c537cee79b324736eac3e438a4713dfa1036 (patch) | |
tree | f5534698be88e804e08ccda77b1df89c2d56d2ae /Xi/grabdev.c | |
parent | cc42e153c2437fe9c94b0c20e1b56277474d94d0 (diff) |
ANSIfy Xi/. Mostly automated via protoize(1).
Diffstat (limited to 'Xi/grabdev.c')
-rw-r--r-- | Xi/grabdev.c | 27 |
1 files changed, 8 insertions, 19 deletions
diff --git a/Xi/grabdev.c b/Xi/grabdev.c index 3b124a0f4..02071ac2c 100644 --- a/Xi/grabdev.c +++ b/Xi/grabdev.c @@ -83,9 +83,8 @@ extern int ExtEventIndex; */ int -SProcXGrabDevice(client) - register ClientPtr client; - { +SProcXGrabDevice(register ClientPtr client) +{ register char n; register long *p; register int i; @@ -113,9 +112,8 @@ SProcXGrabDevice(client) */ int -ProcXGrabDevice(client) - ClientPtr client; - { +ProcXGrabDevice(ClientPtr client) +{ int error; xGrabDeviceReply rep; DeviceIntPtr dev; @@ -167,14 +165,8 @@ ProcXGrabDevice(client) */ int -CreateMaskFromList (client, list, count, mask, dev, req) - ClientPtr client; - XEventClass *list; - int count; - struct tmask mask[]; - DeviceIntPtr dev; - int req; - { +CreateMaskFromList (ClientPtr client, XEventClass *list, int count, struct tmask *mask, DeviceIntPtr dev, int req) +{ int i,j; int device; DeviceIntPtr tdev; @@ -219,11 +211,8 @@ CreateMaskFromList (client, list, count, mask, dev, req) */ void -SRepXGrabDevice (client, size, rep) - ClientPtr client; - int size; - xGrabDeviceReply *rep; - { +SRepXGrabDevice (ClientPtr client, int size, xGrabDeviceReply *rep) +{ register char n; swaps(&rep->sequenceNumber, n); |