From 2540736366eedbe421118a76556438c8fbe8ab48 Mon Sep 17 00:00:00 2001 From: Nan Xiao Date: Mon, 27 Oct 2014 17:53:12 +0800 Subject: [PATCH] Fix function prototype in redis-cli.c. Fix function prototype in redis-cli.c. --- src/redis-cli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/redis-cli.c b/src/redis-cli.c index 07bcf0a0..ee5833dc 100644 --- a/src/redis-cli.c +++ b/src/redis-cli.c @@ -302,7 +302,7 @@ static void completionCallback(const char *buf, linenoiseCompletions *lc) { *--------------------------------------------------------------------------- */ /* Send AUTH command to the server */ -static int cliAuth() { +static int cliAuth(void) { redisReply *reply; if (config.auth == NULL) return REDIS_OK; @@ -315,7 +315,7 @@ static int cliAuth() { } /* Send SELECT dbnum to the server */ -static int cliSelect() { +static int cliSelect(void) { redisReply *reply; if (config.dbnum == 0) return REDIS_OK;