diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-04-05 14:43:05 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-04-05 14:43:05 -0700 |
commit | 27f9a9324d58c9a7472c724c62f5b7ea0e1f4681 (patch) | |
tree | 93a5ce4d0ddaf9c13e3b6b2f0c32246aab238f43 /src/iceauth.c | |
parent | bb639803a779ceace05d183b653da88f010ab29c (diff) |
Provide ANSI C prototypes for more static functions
Diffstat (limited to 'src/iceauth.c')
-rw-r--r-- | src/iceauth.c | 7 |
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--) |