From f7c992c187f74891b8e425c9b41cea357d789c05 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Sat, 23 Sep 1995 00:17:28 +0000 Subject: [PATCH] put function prototype back in git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6818 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/crc32/ChangeLog | 3 +++ src/lib/crypto/crc32/crc.c | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/src/lib/crypto/crc32/ChangeLog b/src/lib/crypto/crc32/ChangeLog index fa046fbf4..313d1d7fa 100644 --- a/src/lib/crypto/crc32/ChangeLog +++ b/src/lib/crypto/crc32/ChangeLog @@ -1,3 +1,6 @@ +Wed Sep 13 10:28:47 1995 Keith Vetter (keithv@fusion.com) + + * crc.c: put function prototype back in. Fri Jul 7 16:10:52 EDT 1995 Paul Park (pjpark@mit.edu) * crc.c - Use CRC32_CKSUM_LENGTH where appropriate. Add checksum diff --git a/src/lib/crypto/crc32/crc.c b/src/lib/crypto/crc32/crc.c index 023c05aa0..48564b50c 100644 --- a/src/lib/crypto/crc32/crc.c +++ b/src/lib/crypto/crc32/crc.c @@ -143,6 +143,16 @@ static u_long const crc_table[256] = { 0xb40bbe37, 0xc30c8ea1, 0x5a05df1b, 0x2d02ef8d }; +/* Windows needs to these prototypes for crc32_cksumtable_entry below */ + +krb5_error_code +crc32_sum_func PROTOTYPE((krb5_pointer in, size_t in_length, + krb5_pointer seed, size_t seed_length, krb5_checksum *outcksum)); + +krb5_error_code +crc32_verify_func PROTOTYPE((krb5_checksum FAR *cksum, krb5_pointer in, + size_t in_length, krb5_pointer seed, size_t seed_length)); + krb5_error_code crc32_sum_func(in, in_length, seed, seed_length, outcksum) krb5_pointer in; -- 2.26.2