diff options
author | hannes <hannes> | 2006-02-09 20:35:38 +0000 |
---|---|---|
committer | hannes <hannes> | 2006-02-09 20:35:38 +0000 |
commit | aab71352290905a0ab110ea39f264799253e858e (patch) | |
tree | 66f218faaaa1934bea5ffeb7fcb0727ced410d7d /checksum.c | |
parent | f4e513061799a0550c3cb72f2f8b32aecb1860ac (diff) | |
download | tcpdump-aab71352290905a0ab110ea39f264799253e858e.tar.gz |
fix typo, use consistent namespace
Diffstat (limited to 'checksum.c')
-rw-r--r-- | checksum.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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(); } |