summaryrefslogtreecommitdiff
path: root/Xi/queryst.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/queryst.c
parentcc42e153c2437fe9c94b0c20e1b56277474d94d0 (diff)
ANSIfy Xi/. Mostly automated via protoize(1).
Diffstat (limited to 'Xi/queryst.c')
-rw-r--r--Xi/queryst.c17
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);