dovecot: Renamed crc32() to crc32_data() so we don't conflict wi...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Oct 25 20:50:38 EEST 2007
details: http://hg.dovecot.org/dovecot/rev/eccb154b310c
changeset: 6613:eccb154b310c
user: Timo Sirainen <tss at iki.fi>
date: Thu Oct 25 20:50:34 2007 +0300
description:
Renamed crc32() to crc32_data() so we don't conflict with zlib's crc32().
diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
src/lib/crc32.c | 2 +-
src/lib/crc32.h | 2 +-
diffs (24 lines):
diff -r 8aa7924e7cc7 -r eccb154b310c src/lib/crc32.c
--- a/src/lib/crc32.c Tue Oct 23 17:09:23 2007 +0300
+++ b/src/lib/crc32.c Thu Oct 25 20:50:34 2007 +0300
@@ -58,7 +58,7 @@ static uint32_t crc32tab[256] = {
0x2A6F2B94, 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D
};
-uint32_t crc32(const void *data, size_t size)
+uint32_t crc32_data(const void *data, size_t size)
{
const uint8_t *p = data, *end = p + size;
uint32_t crc = (uint32_t)-1;
diff -r 8aa7924e7cc7 -r eccb154b310c src/lib/crc32.h
--- a/src/lib/crc32.h Tue Oct 23 17:09:23 2007 +0300
+++ b/src/lib/crc32.h Thu Oct 25 20:50:34 2007 +0300
@@ -1,7 +1,7 @@
#ifndef CRC32_H
#define CRC32_H
-uint32_t crc32(const void *data, size_t size);
+uint32_t crc32_data(const void *data, size_t size);
uint32_t crc32_str(const char *str);
#endif
More information about the dovecot-cvs
mailing list