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/setbmap.c | |
parent | cc42e153c2437fe9c94b0c20e1b56277474d94d0 (diff) |
ANSIfy Xi/. Mostly automated via protoize(1).
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); |