summaryrefslogtreecommitdiff
path: root/src/ziplist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ziplist.c')
-rw-r--r--src/ziplist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ziplist.c b/src/ziplist.c
index c3aa65633..c891625a9 100644
--- a/src/ziplist.c
+++ b/src/ziplist.c
@@ -1694,7 +1694,7 @@ unsigned int ziplistRandomPairsUnique(unsigned char *zl, unsigned int count, zip
#define debug(f, ...) { if (DEBUG) printf(f, __VA_ARGS__); }
-static unsigned char *createList() {
+static unsigned char *createList(void) {
unsigned char *zl = ziplistNew();
zl = ziplistPush(zl, (unsigned char*)"foo", 3, ZIPLIST_TAIL);
zl = ziplistPush(zl, (unsigned char*)"quux", 4, ZIPLIST_TAIL);
@@ -1703,7 +1703,7 @@ static unsigned char *createList() {
return zl;
}
-static unsigned char *createIntList() {
+static unsigned char *createIntList(void) {
unsigned char *zl = ziplistNew();
char buf[32];