Fix prepareForShutdown function declaration (#7566)

This commit is contained in:
grishaf 2020-07-26 08:27:30 +03:00 committed by GitHub
parent f4e2525c86
commit f8751d03ba

View File

@ -1977,7 +1977,7 @@ void forceCommandPropagation(client *c, int flags);
void preventCommandPropagation(client *c); void preventCommandPropagation(client *c);
void preventCommandAOF(client *c); void preventCommandAOF(client *c);
void preventCommandReplication(client *c); void preventCommandReplication(client *c);
int prepareForShutdown(); int prepareForShutdown(int flags);
#ifdef __GNUC__ #ifdef __GNUC__
void serverLog(int level, const char *fmt, ...) void serverLog(int level, const char *fmt, ...)
__attribute__((format(printf, 2, 3))); __attribute__((format(printf, 2, 3)));