Fix prepareForShutdown function declaration (#7566)

(cherry picked from commit f8751d03ba9635064c89844d5915c2ec2dcdc827)
This commit is contained in:
grishaf 2020-07-26 08:27:30 +03:00 committed by Oran Agra
parent 558a343b3c
commit 53f36dc5b6

View File

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