diff options
Diffstat (limited to 'Xi/setbmap.c')
-rw-r--r-- | Xi/setbmap.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/Xi/setbmap.c b/Xi/setbmap.c index 37db5110d..8dfeeea30 100644 --- a/Xi/setbmap.c +++ b/Xi/setbmap.c @@ -81,9 +81,8 @@ SOFTWARE. */ int -SProcXSetDeviceButtonMapping(client) - register ClientPtr client; - { +SProcXSetDeviceButtonMapping(register ClientPtr client) +{ register char n; REQUEST(xSetDeviceButtonMappingReq); @@ -98,9 +97,8 @@ SProcXSetDeviceButtonMapping(client) */ int -ProcXSetDeviceButtonMapping (client) - register ClientPtr client; - { +ProcXSetDeviceButtonMapping (register ClientPtr client) +{ int ret; xSetDeviceButtonMappingReply rep; DeviceIntPtr dev; @@ -157,11 +155,8 @@ ProcXSetDeviceButtonMapping (client) */ void -SRepXSetDeviceButtonMapping (client, size, rep) - ClientPtr client; - int size; - xSetDeviceButtonMappingReply *rep; - { +SRepXSetDeviceButtonMapping (ClientPtr client, int size, xSetDeviceButtonMappingReply *rep) +{ register char n; swaps(&rep->sequenceNumber, n); |