]> git.saurik.com Git - redis.git/blobdiff - src/redis-check-dump.c
Blocking POP: use a dictionary to store keys clinet side.
[redis.git] / src / redis-check-dump.c
index 7efecb1a3991897ef129d61621ae39b05592b05a..950655a024ee5e7f996837d987d09a0d1f99e033 100644 (file)
@@ -40,6 +40,7 @@
 #include <stdint.h>
 #include <limits.h>
 #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