From: Ezra Peisach Date: Mon, 23 Dec 2002 17:57:48 +0000 (+0000) Subject: * t_crc.c: Declare local functions static X-Git-Tag: krb5-1.3-alpha1~210 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ed470a964a99e4b2b1ce579d1b01ffefe2bd2af6;p=krb5.git * t_crc.c: Declare local functions static git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15064 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/crypto/crc32/ChangeLog b/src/lib/crypto/crc32/ChangeLog index a0edb7295..256c9ea26 100644 --- a/src/lib/crypto/crc32/ChangeLog +++ b/src/lib/crypto/crc32/ChangeLog @@ -1,3 +1,7 @@ +2002-12-23 Ezra Peisach + + * t_crc.c: Declare local functions static. + 2002-08-29 Ken Raeburn * Makefile.in: Revert $(S)=>/ change, for Windows support. diff --git a/src/lib/crypto/crc32/t_crc.c b/src/lib/crypto/crc32/t_crc.c index 750f30ccd..37315a526 100644 --- a/src/lib/crypto/crc32/t_crc.c +++ b/src/lib/crypto/crc32/t_crc.c @@ -105,8 +105,8 @@ struct crc_trial trials[] = { #define NTRIALS (sizeof(trials) / sizeof(trials[0])) -void -timetest(int nblk, int blksiz) +static void +timetest(unsigned int nblk, unsigned int blksiz) { char *block; int i; @@ -148,8 +148,8 @@ timetest(int nblk, int blksiz) #endif } -void gethexstr(char *data, size_t *outlen, unsigned char *outbuf, - size_t buflen) +static void gethexstr(char *data, size_t *outlen, unsigned char *outbuf, + size_t buflen) { size_t inlen; char *cp, buf[3]; @@ -167,7 +167,7 @@ void gethexstr(char *data, size_t *outlen, unsigned char *outbuf, } } -void +static void verify(void) { int i;