summaryrefslogtreecommitdiff
path: root/src/protosetup.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2008-10-30 12:01:06 +0100
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-06 17:15:13 -0200
commitb01e82ce1deedb36c9696d4d27a3b9a5d5a52d08 (patch)
tree4e7d624bec961376da0ff497c2757699160d0483 /src/protosetup.c
parent2aba1bc0583aeb3ee6e26e3bfacd123abef744d9 (diff)
ANSI C
convert all old style function declarations see also: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> http://bugs.freedesktop.org/show_bug.cgi?id=14683 http://bugs.freedesktop.org/attachment.cgi?id=14582 see also: Magnus Kessler <Magnus.Kessler@gmx.net> http://lists.freedesktop.org/archives/xorg/2008-October/039799.html http://lists.freedesktop.org/archives/xorg/attachments/20081030/b2ea5b1c/attachment-0001.bin
Diffstat (limited to 'src/protosetup.c')
-rw-r--r--src/protosetup.c27
1 files changed, 12 insertions, 15 deletions
diff --git a/src/protosetup.c b/src/protosetup.c
index 7a21e2e..c6f19e1 100644
--- a/src/protosetup.c
+++ b/src/protosetup.c
@@ -36,21 +36,18 @@ Author: Ralph Mor, X Consortium
IceProtocolSetupStatus
-IceProtocolSetup (iceConn, myOpcode, clientData, mustAuthenticate,
- majorVersionRet, minorVersionRet, vendorRet, releaseRet,
- errorLength, errorStringRet)
-
-IceConn iceConn;
-int myOpcode;
-IcePointer clientData;
-Bool mustAuthenticate;
-int *majorVersionRet;
-int *minorVersionRet;
-char **vendorRet;
-char **releaseRet;
-int errorLength;
-char *errorStringRet;
-
+IceProtocolSetup (
+ IceConn iceConn,
+ int myOpcode,
+ IcePointer clientData,
+ Bool mustAuthenticate,
+ int *majorVersionRet,
+ int *minorVersionRet,
+ char **vendorRet,
+ char **releaseRet,
+ int errorLength,
+ char *errorStringRet
+)
{
iceProtocolSetupMsg *pMsg;
char *pData;