summaryrefslogtreecommitdiff
path: root/checksum.c
diff options
context:
space:
mode:
authorhannes <hannes>2006-02-09 20:35:38 +0000
committerhannes <hannes>2006-02-09 20:35:38 +0000
commitaab71352290905a0ab110ea39f264799253e858e (patch)
tree66f218faaaa1934bea5ffeb7fcb0727ced410d7d /checksum.c
parentf4e513061799a0550c3cb72f2f8b32aecb1860ac (diff)
downloadtcpdump-aab71352290905a0ab110ea39f264799253e858e.tar.gz
fix typo, use consistent namespace
Diffstat (limited to 'checksum.c')
-rw-r--r--checksum.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/checksum.c b/checksum.c
index 8775c7af..17edf2d7 100644
--- a/checksum.c
+++ b/checksum.c
@@ -19,7 +19,7 @@
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/tcpdump/checksum.c,v 1.1 2006-02-09 20:33:49 hannes Exp $";
+ "@(#) $Header: /tcpdump/master/tcpdump/checksum.c,v 1.2 2006-02-09 20:35:38 hannes Exp $";
#endif
#ifdef HAVE_CONFIG_H
@@ -40,7 +40,7 @@ static const char rcsid[] _U_ =
static u_int16_t crc10_table[256];
static void
-gen_crc10_table(void)
+init_crc10_table(void)
{
register int i, j;
register u_int16_t accum;
@@ -71,10 +71,10 @@ verify_crc10_cksum(u_int16_t accum, const u_char *p, int length)
return accum;
}
-/* precomputed checksum tables */
+/* precompute checksum tables */
void
init_checksum(void) {
- gen_crc10_table();
+ init_crc10_table();
}