From 3bf0f5cfbe96b8aa8681f8fb26868188b52ec8e8 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 24 Oct 2017 14:19:53 +0200 Subject: [SERVER] Get rid of zlib dependency We only used it for CRC-32, so now the source tree includes a stripped down version of the crc32 code from the zlib project. --- src/shared/crc32.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/shared/crc32.h (limited to 'src/shared/crc32.h') diff --git a/src/shared/crc32.h b/src/shared/crc32.h new file mode 100644 index 0000000..00b8bdd --- /dev/null +++ b/src/shared/crc32.h @@ -0,0 +1,9 @@ +#ifndef _CRC32_H_ +#define _CRC32_H_ + +#include + +uint32_t crc32(uint32_t crc, const uint8_t *buf, size_t len); + +#endif + -- cgit v1.2.3-55-g7522