summaryrefslogtreecommitdiff
path: root/hiredis.c
diff options
context:
space:
mode:
Diffstat (limited to 'hiredis.c')
-rw-r--r--hiredis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hiredis.c b/hiredis.c
index 9ff0b97..243ea75 100644
--- a/hiredis.c
+++ b/hiredis.c
@@ -434,7 +434,7 @@ static int processItem(redisReader *r) {
}
}
-void *redisReplyReaderCreate() {
+void *redisReplyReaderCreate(void) {
redisReader *r = calloc(sizeof(redisReader),1);
r->error = NULL;
r->fn = &defaultFunctions;
@@ -793,7 +793,7 @@ void __redisSetError(redisContext *c, int type, const sds errstr) {
}
}
-static redisContext *redisContextInit() {
+static redisContext *redisContextInit(void) {
redisContext *c = calloc(sizeof(redisContext),1);
c->err = 0;
c->errstr = NULL;