diff options
author | dholland <dholland@NetBSD.org> | 2009-08-12 04:28:27 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-08-12 04:28:27 +0000 |
commit | 63e571cca69e7558ecb2d0e2e654eff896c0ac62 (patch) | |
tree | 0141582e34f580554ecc15ffc8b4517ada70fc50 /adventure/crc.c | |
parent | 2dc7494ef4aeb144d0da0b9bdbcfeba12073e5e3 (diff) | |
download | bsdgames-darwin-63e571cca69e7558ecb2d0e2e654eff896c0ac62.tar.gz bsdgames-darwin-63e571cca69e7558ecb2d0e2e654eff896c0ac62.tar.zst bsdgames-darwin-63e571cca69e7558ecb2d0e2e654eff896c0ac62.zip |
sprinkle static
Diffstat (limited to 'adventure/crc.c')
-rw-r--r-- | adventure/crc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/adventure/crc.c b/adventure/crc.c index d13bdd42..c43297a1 100644 --- a/adventure/crc.c +++ b/adventure/crc.c @@ -1,4 +1,4 @@ -/* $NetBSD: crc.c,v 1.9 2005/07/01 00:03:36 jmc Exp $ */ +/* $NetBSD: crc.c,v 1.10 2009/08/12 04:28:27 dholland Exp $ */ /*- * Copyright (c) 1993 @@ -38,13 +38,13 @@ static char sccsid[] = "@(#)crc.c 8.1 (Berkeley) 5/31/93"; static char ORIGINAL_sccsid[] = "@(#)crc.c 5.2 (Berkeley) 4/4/91"; #else -__RCSID("$NetBSD: crc.c,v 1.9 2005/07/01 00:03:36 jmc Exp $"); +__RCSID("$NetBSD: crc.c,v 1.10 2009/08/12 04:28:27 dholland Exp $"); #endif #endif /* not lint */ #include "extern.h" -const unsigned long crctab[] = { +static const unsigned long crctab[] = { 0x7fffffff, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f, 0xe963a535, 0x9e6495a3, 0x0edb8832, 0x79dcb8a4, 0xe0d5e91e, @@ -106,8 +106,8 @@ const unsigned long crctab[] = { * it. */ -unsigned long crcval; -unsigned int step; +static unsigned long crcval; +static unsigned int step; void crc_start() |