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/setmode.c | |
parent | cc42e153c2437fe9c94b0c20e1b56277474d94d0 (diff) |
ANSIfy Xi/. Mostly automated via protoize(1).
Diffstat (limited to 'Xi/setmode.c')
-rw-r--r-- | Xi/setmode.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/Xi/setmode.c b/Xi/setmode.c index f95ef5514..a6ea6f8ed 100644 --- a/Xi/setmode.c +++ b/Xi/setmode.c @@ -78,9 +78,8 @@ SOFTWARE. */ int -SProcXSetDeviceMode(client) - register ClientPtr client; - { +SProcXSetDeviceMode(register ClientPtr client) +{ register char n; REQUEST(xSetDeviceModeReq); @@ -95,9 +94,8 @@ SProcXSetDeviceMode(client) */ int -ProcXSetDeviceMode(client) - register ClientPtr client; - { +ProcXSetDeviceMode(register ClientPtr client) +{ DeviceIntPtr dev; xSetDeviceModeReply rep; @@ -145,11 +143,8 @@ ProcXSetDeviceMode(client) */ void -SRepXSetDeviceMode (client, size, rep) - ClientPtr client; - int size; - xSetDeviceModeReply *rep; - { +SRepXSetDeviceMode (ClientPtr client, int size, xSetDeviceModeReply *rep) +{ register char n; swaps(&rep->sequenceNumber, n); |