diff options
author | Oran Agra <oran@redislabs.com> | 2023-05-15 13:08:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-15 13:08:15 +0300 |
commit | a51eb05b1895babb17c37c36b963e2bcbd5496d5 (patch) | |
tree | 7be24b09e0a5621a03e9f9ffe9ef27fcb44d8345 /src/ziplist.c | |
parent | e26a769d9627ebecb8607375580970a740348956 (diff) | |
parent | 986dbf716e0cb904c80bb444635cea3242859cc1 (diff) | |
download | redis-a51eb05b1895babb17c37c36b963e2bcbd5496d5.tar.gz |
Diffstat (limited to 'src/ziplist.c')
-rw-r--r-- | src/ziplist.c | 4 |
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]; |