Commit d8e92a82 authored by antirez's avatar antirez
Browse files

Move prototype of evictionPoolAlloc() in server.h.

parent 3b9495d2
...@@ -299,8 +299,6 @@ struct redisCommand redisCommandTable[] = { ...@@ -299,8 +299,6 @@ struct redisCommand redisCommandTable[] = {
{"latency",latencyCommand,-2,"aslt",0,NULL,0,0,0,0,0} {"latency",latencyCommand,-2,"aslt",0,NULL,0,0,0,0,0}
}; };
struct evictionPoolEntry *evictionPoolAlloc(void);
/*============================ Utility functions ============================ */ /*============================ Utility functions ============================ */
/* Low level logging. To use only for very big messages, otherwise /* Low level logging. To use only for very big messages, otherwise
......
...@@ -1616,6 +1616,9 @@ void disconnectAllBlockedClients(void); ...@@ -1616,6 +1616,9 @@ void disconnectAllBlockedClients(void);
/* expire.c -- Handling of expired keys */ /* expire.c -- Handling of expired keys */
void activeExpireCycle(int type); void activeExpireCycle(int type);
/* evict.c -- maxmemory handling and LRU eviction. */
struct evictionPoolEntry *evictionPoolAlloc(void);
/* Git SHA1 */ /* Git SHA1 */
char *redisGitSHA1(void); char *redisGitSHA1(void);
char *redisGitDirty(void); char *redisGitDirty(void);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment