Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
9e7f39d2
Commit
9e7f39d2
authored
Apr 29, 2015
by
antirez
Browse files
Add header guard for ziplist.h
As suggested in #2543.
parent
c806dd79
Changes
1
Show whitespace changes
Inline
Side-by-side
src/ziplist.h
View file @
9e7f39d2
...
@@ -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 */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment