summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/crypto/crc32/ChangeLog4
-rw-r--r--src/lib/crypto/crc32/t_crc.c10
2 files changed, 9 insertions, 5 deletions
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 <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 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;