From 0f484d83123366397f489e6f7e6481fc6d8765dc Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 23 Jun 2016 16:18:14 +0200 Subject: [PATCH] Actually remove static from #3331. I forgot -a when amending in the previous commit. --- src/module.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/module.c b/src/module.c index f5921d8f2..fa866aa23 100644 --- a/src/module.c +++ b/src/module.c @@ -1447,8 +1447,7 @@ int RM_ZsetScore(RedisModuleKey *key, RedisModuleString *ele, double *score) { * Key API for Sorted Set iterator * -------------------------------------------------------------------------- */ -static void zsetKeyReset(RedisModuleKey *key) -{ +void zsetKeyReset(RedisModuleKey *key) { key->ztype = REDISMODULE_ZSET_RANGE_NONE; key->zcurrent = NULL; key->zer = 1;