Commit 9e7f39d2 authored by antirez's avatar antirez
Browse files

Add header guard for ziplist.h

As suggested in #2543.
parent c806dd79
...@@ -28,6 +28,9 @@ ...@@ -28,6 +28,9 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _ZIPLIST_H
#define _ZIPLIST_H
#define ZIPLIST_HEAD 0 #define ZIPLIST_HEAD 0
#define ZIPLIST_TAIL 1 #define ZIPLIST_TAIL 1
...@@ -49,3 +52,5 @@ size_t ziplistBlobLen(unsigned char *zl); ...@@ -49,3 +52,5 @@ size_t ziplistBlobLen(unsigned char *zl);
#ifdef REDIS_TEST #ifdef REDIS_TEST
int ziplistTest(int argc, char *argv[]); int ziplistTest(int argc, char *argv[]);
#endif #endif
#endif /* _ZIPLIST_H */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment