summaryrefslogtreecommitdiff
path: root/src/iceauth.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-04-05 14:43:05 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-04-05 14:43:05 -0700
commit27f9a9324d58c9a7472c724c62f5b7ea0e1f4681 (patch)
tree93a5ce4d0ddaf9c13e3b6b2f0c32246aab238f43 /src/iceauth.c
parentbb639803a779ceace05d183b653da88f010ab29c (diff)
Provide ANSI C prototypes for more static functions
Diffstat (limited to 'src/iceauth.c')
-rw-r--r--src/iceauth.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/iceauth.c b/src/iceauth.c
index 01c73ce..38500a5 100644
--- a/src/iceauth.c
+++ b/src/iceauth.c
@@ -38,7 +38,7 @@ Author: Ralph Mor, X Consortium
#include <time.h>
#define Time_t time_t
-static int binaryEqual ();
+static int binaryEqual (const char *a, const char *b, unsigned len);
static int was_called_state;
@@ -265,10 +265,7 @@ char **errorStringRet;
*/
static int
-binaryEqual (a, b, len)
-
-register char *a, *b;
-register unsigned len;
+binaryEqual (const char *a, const char *b, unsigned len)
{
while (len--)