summaryrefslogtreecommitdiff
path: root/Xi/chgdctl.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2006-02-20 21:50:49 +0000
committerAdam Jackson <ajax@nwnk.net>2006-02-20 21:50:49 +0000
commit5480c537cee79b324736eac3e438a4713dfa1036 (patch)
treef5534698be88e804e08ccda77b1df89c2d56d2ae /Xi/chgdctl.c
parentcc42e153c2437fe9c94b0c20e1b56277474d94d0 (diff)
ANSIfy Xi/. Mostly automated via protoize(1).
Diffstat (limited to 'Xi/chgdctl.c')
-rw-r--r--Xi/chgdctl.c17
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);