diff options
author | Ezra Peisach <epeisach@mit.edu> | 2002-12-23 17:57:48 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2002-12-23 17:57:48 +0000 |
commit | ed470a964a99e4b2b1ce579d1b01ffefe2bd2af6 (patch) | |
tree | 4826202d25a9d255f54dfbd93e9f8193efa5c835 /src/lib/crypto | |
parent | e06813a672440690949026d39c489c7352258262 (diff) | |
download | krb5-ed470a964a99e4b2b1ce579d1b01ffefe2bd2af6.tar.gz krb5-ed470a964a99e4b2b1ce579d1b01ffefe2bd2af6.tar.xz krb5-ed470a964a99e4b2b1ce579d1b01ffefe2bd2af6.zip |
* t_crc.c: Declare local functions static
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15064 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/crypto')
-rw-r--r-- | src/lib/crypto/crc32/ChangeLog | 4 | ||||
-rw-r--r-- | src/lib/crypto/crc32/t_crc.c | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/src/lib/crypto/crc32/ChangeLog b/src/lib/crypto/crc32/ChangeLog index a0edb72954..256c9ea26e 100644 --- a/src/lib/crypto/crc32/ChangeLog +++ b/src/lib/crypto/crc32/ChangeLog @@ -1,3 +1,7 @@ +2002-12-23 Ezra Peisach <epeisach@bu.edu> + + * t_crc.c: Declare local functions static. + 2002-08-29 Ken Raeburn <raeburn@mit.edu> * 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 750f30ccd0..37315a526f 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; |