diff options
Diffstat (limited to 'Xi/chgdctl.c')
-rw-r--r-- | Xi/chgdctl.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/Xi/chgdctl.c b/Xi/chgdctl.c index 63a3c9c69..004000360 100644 --- a/Xi/chgdctl.c +++ b/Xi/chgdctl.c @@ -80,9 +80,8 @@ SOFTWARE. */ int -SProcXChangeDeviceControl(client) - register ClientPtr client; - { +SProcXChangeDeviceControl(register ClientPtr client) +{ register char n; REQUEST(xChangeDeviceControlReq); @@ -99,9 +98,8 @@ SProcXChangeDeviceControl(client) */ int -ProcXChangeDeviceControl(client) - ClientPtr client; - { +ProcXChangeDeviceControl(ClientPtr client) +{ unsigned len; int i, status; DeviceIntPtr dev; @@ -205,11 +203,8 @@ ProcXChangeDeviceControl(client) */ void -SRepXChangeDeviceControl (client, size, rep) - ClientPtr client; - int size; - xChangeDeviceControlReply *rep; - { +SRepXChangeDeviceControl (ClientPtr client, int size, xChangeDeviceControlReply *rep) +{ register char n; swaps(&rep->sequenceNumber, n); |