mirror of
https://github.com/fluencelabs/redis
synced 2025-05-02 22:12:15 +00:00
Move mstime_t define outside sentinel.c.
The define is now used in other parts of Redis 2.8 tree instead of long long. A nice side effect is that now 2.8 and unstable sentinel.c files are identical as it should be.
This commit is contained in:
parent
c5bc592650
commit
ddcf160309
@ -368,6 +368,8 @@
|
|||||||
* Data types
|
* Data types
|
||||||
*----------------------------------------------------------------------------*/
|
*----------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
typedef long long mstime_t; /* millisecond time type. */
|
||||||
|
|
||||||
/* A redis object, that is a type able to hold a string / list / set */
|
/* A redis object, that is a type able to hold a string / list / set */
|
||||||
|
|
||||||
/* The actual Redis Object */
|
/* The actual Redis Object */
|
||||||
|
@ -44,8 +44,6 @@ extern char **environ;
|
|||||||
|
|
||||||
/* ======================== Sentinel global state =========================== */
|
/* ======================== Sentinel global state =========================== */
|
||||||
|
|
||||||
typedef long long mstime_t; /* millisecond time type. */
|
|
||||||
|
|
||||||
/* Address object, used to describe an ip:port pair. */
|
/* Address object, used to describe an ip:port pair. */
|
||||||
typedef struct sentinelAddr {
|
typedef struct sentinelAddr {
|
||||||
char *ip;
|
char *ip;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user