File redis-3.2.0-fix-prototype.patch of Package redis
diff -Ndurp redis-3.2.0/src/server.h redis-3.2.0-fix-prototype/src/server.h
--- redis-3.2.0/src/server.h 2016-05-06 10:11:36.000000000 +0300
+++ redis-3.2.0-fix-prototype/src/server.h 2016-05-07 20:59:58.317381412 +0300
@@ -1308,7 +1308,7 @@ void forceCommandPropagation(client *c,
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)));