X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/4365e5b2d32798c168a8376fad891c0e5cccb4ec..2f87cf8b0162bd9d78c3a89860c0971cd71d39db:/src/redis-check-dump.c diff --git a/src/redis-check-dump.c b/src/redis-check-dump.c index 7efecb1a..950655a0 100644 --- a/src/redis-check-dump.c +++ b/src/redis-check-dump.c @@ -40,6 +40,7 @@ #include #include #include "lzf.h" +#include "crc64.h" /* Object types */ #define REDIS_STRING 0 @@ -140,9 +141,6 @@ static double R_Zero, R_PosInf, R_NegInf, R_Nan; /* store string types for output */ static char types[256][16]; -/* Prototypes */ -uint64_t crc64(uint64_t crc, const unsigned char *s, uint64_t l); - /* Return true if 't' is a valid object type. */ int checkType(unsigned char t) { /* In case a new object type is added, update the following