Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
d8e92a82
Commit
d8e92a82
authored
Jul 07, 2016
by
antirez
Browse files
Move prototype of evictionPoolAlloc() in server.h.
parent
3b9495d2
Changes
2
Show whitespace changes
Inline
Side-by-side
src/server.c
View file @
d8e92a82
...
...
@@ -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
...
...
src/server.h
View file @
d8e92a82
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment