diff options
Diffstat (limited to 'Xi/getmmap.c')
-rw-r--r-- | Xi/getmmap.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/Xi/getmmap.c b/Xi/getmmap.c index 6b2e38d0b..310452a14 100644 --- a/Xi/getmmap.c +++ b/Xi/getmmap.c @@ -78,9 +78,8 @@ SOFTWARE. */ int -SProcXGetDeviceModifierMapping(client) - register ClientPtr client; - { +SProcXGetDeviceModifierMapping(register ClientPtr client) +{ register char n; REQUEST(xGetDeviceModifierMappingReq); @@ -95,9 +94,8 @@ SProcXGetDeviceModifierMapping(client) */ int -ProcXGetDeviceModifierMapping(client) - ClientPtr client; - { +ProcXGetDeviceModifierMapping(ClientPtr client) +{ CARD8 maxkeys; DeviceIntPtr dev; xGetDeviceModifierMappingReply rep; @@ -145,11 +143,8 @@ ProcXGetDeviceModifierMapping(client) */ void -SRepXGetDeviceModifierMapping (client, size, rep) - ClientPtr client; - int size; - xGetDeviceModifierMappingReply *rep; - { +SRepXGetDeviceModifierMapping (ClientPtr client, int size, xGetDeviceModifierMappingReply *rep) +{ register char n; swaps(&rep->sequenceNumber, n); |