Move prototype of evictionPoolAlloc() in server.h.

This commit is contained in:
antirez 2016-07-07 15:01:58 +02:00
parent 3b9495d20d
commit d8e92a8207
2 changed files with 3 additions and 2 deletions

View File

@ -299,8 +299,6 @@ struct redisCommand redisCommandTable[] = {
{"latency",latencyCommand,-2,"aslt",0,NULL,0,0,0,0,0}
};
struct evictionPoolEntry *evictionPoolAlloc(void);
/*============================ Utility functions ============================ */
/* Low level logging. To use only for very big messages, otherwise

View File

@ -1616,6 +1616,9 @@ void disconnectAllBlockedClients(void);
/* expire.c -- Handling of expired keys */
void activeExpireCycle(int type);
/* evict.c -- maxmemory handling and LRU eviction. */
struct evictionPoolEntry *evictionPoolAlloc(void);
/* Git SHA1 */
char *redisGitSHA1(void);
char *redisGitDirty(void);