diff options
Diffstat (limited to 'Xi/getkmap.c')
-rw-r--r-- | Xi/getkmap.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/Xi/getkmap.c b/Xi/getkmap.c index 4e67d9c71..5de044677 100644 --- a/Xi/getkmap.c +++ b/Xi/getkmap.c @@ -79,9 +79,8 @@ SOFTWARE. */ int -SProcXGetDeviceKeyMapping(client) - register ClientPtr client; - { +SProcXGetDeviceKeyMapping(register ClientPtr client) +{ register char n; REQUEST(xGetDeviceKeyMappingReq); @@ -96,9 +95,8 @@ SProcXGetDeviceKeyMapping(client) */ int -ProcXGetDeviceKeyMapping(client) - register ClientPtr client; - { +ProcXGetDeviceKeyMapping(register ClientPtr client) +{ xGetDeviceKeyMappingReply rep; DeviceIntPtr dev; KeySymsPtr k; @@ -164,11 +162,8 @@ ProcXGetDeviceKeyMapping(client) */ void -SRepXGetDeviceKeyMapping (client, size, rep) - ClientPtr client; - int size; - xGetDeviceKeyMappingReply *rep; - { +SRepXGetDeviceKeyMapping (ClientPtr client, int size, xGetDeviceKeyMappingReply *rep) +{ register char n; swaps(&rep->sequenceNumber, n); |