From 7765cd8de292884f31d2c621103ba4ad9a3f4b83 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Mon, 29 Mar 1999 19:25:09 +0000 Subject: [PATCH] crc_{init_table,update} -> _krb5_crc_{init_table,update} git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5803 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/crc.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/krb5/crc.c b/lib/krb5/crc.c index 0a7ed9585..6c91c3bbd 100644 --- a/lib/krb5/crc.c +++ b/lib/krb5/crc.c @@ -40,15 +40,12 @@ RCSID("$Id$"); -#include -#include "crc.h" - static u_long table[256]; #define CRC_GEN 0xEDB88320L void -crc_init_table(void) +_krb5_crc_init_table(void) { static int flag = 0; unsigned long crc, poly; @@ -71,7 +68,7 @@ crc_init_table(void) } u_int32_t -crc_update (char *p, size_t len, u_int32_t res) +_krb5_crc_update (char *p, size_t len, u_int32_t res) { while (len--) res = table[(res ^ *p++) & 0xFF] ^ (res >> 8);