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/getdctl.c | |
parent | cc42e153c2437fe9c94b0c20e1b56277474d94d0 (diff) |
ANSIfy Xi/. Mostly automated via protoize(1).
Diffstat (limited to 'Xi/getdctl.c')
-rw-r--r-- | Xi/getdctl.c | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/Xi/getdctl.c b/Xi/getdctl.c index 527273ac4..672824985 100644 --- a/Xi/getdctl.c +++ b/Xi/getdctl.c @@ -78,9 +78,8 @@ SOFTWARE. */ int -SProcXGetDeviceControl(client) - register ClientPtr client; - { +SProcXGetDeviceControl(register ClientPtr client) +{ register char n; REQUEST(xGetDeviceControlReq); @@ -97,9 +96,8 @@ SProcXGetDeviceControl(client) */ int -ProcXGetDeviceControl(client) - ClientPtr client; - { +ProcXGetDeviceControl(ClientPtr client) +{ int total_length = 0; char *buf, *savbuf; register DeviceIntPtr dev; @@ -172,12 +170,8 @@ ProcXGetDeviceControl(client) */ void -CopySwapDeviceResolution (client, v, buf, length) - ClientPtr client; - ValuatorClassPtr v; - char *buf; - int length; - { +CopySwapDeviceResolution (ClientPtr client, ValuatorClassPtr v, char *buf, int length) +{ register char n; AxisInfoPtr a; xDeviceResolutionState *r; @@ -216,11 +210,8 @@ CopySwapDeviceResolution (client, v, buf, length) */ void -SRepXGetDeviceControl (client, size, rep) - ClientPtr client; - int size; - xGetDeviceControlReply *rep; - { +SRepXGetDeviceControl (ClientPtr client, int size, xGetDeviceControlReply *rep) +{ register char n; swaps(&rep->sequenceNumber, n); |