summaryrefslogtreecommitdiff
path: root/src/sentinel.c
diff options
context:
space:
mode:
authorUri Shachar <uri@redislabs.com>2021-06-16 06:35:13 +0300
committerGitHub <noreply@github.com>2021-06-15 20:35:13 -0700
commitc7e502a07bdeec29c2be41da70b483b2156d36db (patch)
tree08625974ea3e8aadd44b5940ea7ed71f777151f3 /src/sentinel.c
parente5d8a5eb85b50ee7da1bf652c7d67e8e5b757ec9 (diff)
downloadredis-c7e502a07bdeec29c2be41da70b483b2156d36db.tar.gz
Cleaning up the cluster interface by moving almost all related declar… (#9080)
* Cleaning up the cluster interface by moving almost all related declarations into cluster.h (no logic change -- just moving declarations/definitions around) This initial effort leaves two items out of scope - the configuration parsing into the server struct and the internals exposed by the clusterNode struct. * Remove unneeded declarations of dictSds* Ideally all the dictSds functionality would move from server.c into a dedicated module so we can avoid the duplication in redis-benchmark/cli * Move crc16 back into server.h, will be moved out once we create a seperate header file for hashing functions
Diffstat (limited to 'src/sentinel.c')
-rw-r--r--src/sentinel.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/sentinel.c b/src/sentinel.c
index 060e499ad..473174cf1 100644
--- a/src/sentinel.c
+++ b/src/sentinel.c
@@ -404,10 +404,6 @@ void sentinelSimFailureCrash(void);
/* ========================= Dictionary types =============================== */
-uint64_t dictSdsHash(const void *key);
-uint64_t dictSdsCaseHash(const void *key);
-int dictSdsKeyCompare(void *privdata, const void *key1, const void *key2);
-int dictSdsKeyCaseCompare(void *privdata, const void *key1, const void *key2);
void releaseSentinelRedisInstance(sentinelRedisInstance *ri);
void dictInstancesValDestructor (void *privdata, void *obj) {