diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2008-12-01 23:06:22 +0100 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-06 17:11:59 -0200 |
commit | 2aba1bc0583aeb3ee6e26e3bfacd123abef744d9 (patch) | |
tree | 20a04ae03a0e044326a76f119a052b13ba2ec06b /src/iceauth.c | |
parent | 69a1b4b6d34291738dfbc3aa19d0ce3f2842ec8f (diff) |
towards ANSI C
make _IceProcessCoreMessage and default error handlers static
Diffstat (limited to 'src/iceauth.c')
-rw-r--r-- | src/iceauth.c | 48 |
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}; /* |