summaryrefslogtreecommitdiff
path: root/Xi/getvers.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/getvers.c
parentcc42e153c2437fe9c94b0c20e1b56277474d94d0 (diff)
ANSIfy Xi/. Mostly automated via protoize(1).
Diffstat (limited to 'Xi/getvers.c')
-rw-r--r--Xi/getvers.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/Xi/getvers.c b/Xi/getvers.c
index 1ad0ce785..efd2683e9 100644
--- a/Xi/getvers.c
+++ b/Xi/getvers.c
@@ -79,9 +79,8 @@ XExtensionVersion AllExtensionVersions[128];
*/
int
-SProcXGetExtensionVersion(client)
- register ClientPtr client;
- {
+SProcXGetExtensionVersion(register ClientPtr client)
+{
register char n;
REQUEST(xGetExtensionVersionReq);
@@ -98,9 +97,8 @@ SProcXGetExtensionVersion(client)
*/
int
-ProcXGetExtensionVersion (client)
- register ClientPtr client;
- {
+ProcXGetExtensionVersion (register ClientPtr client)
+{
xGetExtensionVersionReply rep;
REQUEST(xGetExtensionVersionReq);
@@ -142,11 +140,8 @@ ProcXGetExtensionVersion (client)
*/
void
-SRepXGetExtensionVersion (client, size, rep)
- ClientPtr client;
- int size;
- xGetExtensionVersionReply *rep;
- {
+SRepXGetExtensionVersion (ClientPtr client, int size, xGetExtensionVersionReply *rep)
+{
register char n;
swaps(&rep->sequenceNumber, n);