diff options
author | Yossi Gottlieb <yossigo@gmail.com> | 2016-06-20 23:08:06 +0300 |
---|---|---|
committer | Yossi Gottlieb <yossigo@gmail.com> | 2016-06-20 23:08:06 +0300 |
commit | 8f3a4df77599e4523bee7dc1db60b0863d6a6a49 (patch) | |
tree | cf7863e3510b79c2721864e1ee8eb1dd93365dfe /src/quicklist.h | |
parent | 0b4b7ebd957448cb59cf3e3c365772b29067ede7 (diff) | |
download | redis-8f3a4df77599e4523bee7dc1db60b0863d6a6a49.tar.gz |
Use const in Redis Module API where possible.
Diffstat (limited to 'src/quicklist.h')
-rw-r--r-- | src/quicklist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quicklist.h b/src/quicklist.h index e040368e5..8f3875900 100644 --- a/src/quicklist.h +++ b/src/quicklist.h @@ -154,7 +154,7 @@ int quicklistPopCustom(quicklist *quicklist, int where, unsigned char **data, void *(*saver)(unsigned char *data, unsigned int sz)); int quicklistPop(quicklist *quicklist, int where, unsigned char **data, unsigned int *sz, long long *slong); -unsigned int quicklistCount(quicklist *ql); +unsigned int quicklistCount(const quicklist *ql); int quicklistCompare(unsigned char *p1, unsigned char *p2, int p2_len); size_t quicklistGetLzf(const quicklistNode *node, void **data); |