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/queryst.c | |
parent | cc42e153c2437fe9c94b0c20e1b56277474d94d0 (diff) |
ANSIfy Xi/. Mostly automated via protoize(1).
Diffstat (limited to 'Xi/queryst.c')
-rw-r--r-- | Xi/queryst.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/Xi/queryst.c b/Xi/queryst.c index 34b140c8e..d125e2de3 100644 --- a/Xi/queryst.c +++ b/Xi/queryst.c @@ -60,9 +60,8 @@ from The Open Group. */ int -SProcXQueryDeviceState(client) - register ClientPtr client; - { +SProcXQueryDeviceState(register ClientPtr client) +{ register char n; REQUEST(xQueryDeviceStateReq); @@ -77,9 +76,8 @@ SProcXQueryDeviceState(client) */ int -ProcXQueryDeviceState(client) - register ClientPtr client; - { +ProcXQueryDeviceState(register ClientPtr client) +{ register char n; int i; int num_classes = 0; @@ -202,11 +200,8 @@ ProcXQueryDeviceState(client) */ void -SRepXQueryDeviceState (client, size, rep) - ClientPtr client; - int size; - xQueryDeviceStateReply *rep; - { +SRepXQueryDeviceState (ClientPtr client, int size, xQueryDeviceStateReply *rep) +{ register char n; swaps(&rep->sequenceNumber, n); |