summaryrefslogtreecommitdiff
path: root/src/iceauth.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2008-12-01 23:06:22 +0100
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-06 17:11:59 -0200
commit2aba1bc0583aeb3ee6e26e3bfacd123abef744d9 (patch)
tree20a04ae03a0e044326a76f119a052b13ba2ec06b /src/iceauth.c
parent69a1b4b6d34291738dfbc3aa19d0ce3f2842ec8f (diff)
towards ANSI C
make _IceProcessCoreMessage and default error handlers static
Diffstat (limited to 'src/iceauth.c')
-rw-r--r--src/iceauth.c48
1 files changed, 23 insertions, 25 deletions
diff --git a/src/iceauth.c b/src/iceauth.c
index dcee7ed..d782954 100644
--- a/src/iceauth.c
+++ b/src/iceauth.c
@@ -94,19 +94,17 @@ int len;
IcePoAuthStatus
-_IcePoMagicCookie1Proc (iceConn, authStatePtr, cleanUp, swap,
- authDataLen, authData, replyDataLenRet, replyDataRet, errorStringRet)
-
-IceConn iceConn;
-IcePointer *authStatePtr;
-Bool cleanUp;
-Bool swap;
-int authDataLen;
-IcePointer authData;
-int *replyDataLenRet;
-IcePointer *replyDataRet;
-char **errorStringRet;
-
+_IcePoMagicCookie1Proc (
+ IceConn iceConn,
+ IcePointer *authStatePtr,
+ Bool cleanUp,
+ Bool swap,
+ int authDataLen,
+ IcePointer authData,
+ int *replyDataLenRet,
+ IcePointer *replyDataRet,
+ char **errorStringRet
+)
{
if (cleanUp)
{
@@ -168,21 +166,20 @@ char **errorStringRet;
}
}
+IcePoAuthProc _IcePoAuthProcs[] = {_IcePoMagicCookie1Proc};
IcePaAuthStatus
-_IcePaMagicCookie1Proc (iceConn, authStatePtr, swap,
- authDataLen, authData, replyDataLenRet, replyDataRet, errorStringRet)
-
-IceConn iceConn;
-IcePointer *authStatePtr;
-Bool swap;
-int authDataLen;
-IcePointer authData;
-int *replyDataLenRet;
-IcePointer *replyDataRet;
-char **errorStringRet;
-
+_IcePaMagicCookie1Proc (
+ IceConn iceConn,
+ IcePointer *authStatePtr,
+ Bool swap,
+ int authDataLen,
+ IcePointer authData,
+ int *replyDataLenRet,
+ IcePointer *replyDataRet,
+ char **errorStringRet
+)
{
*errorStringRet = NULL;
*replyDataLenRet = 0;
@@ -252,6 +249,7 @@ char **errorStringRet;
}
}
+IcePaAuthProc _IcePaAuthProcs[] = {_IcePaMagicCookie1Proc};
/*