From 5c85a0416459d8efccf580efa36fa7b4ddf57f48 Mon Sep 17 00:00:00 2001 From: Yossi Gottlieb Date: Sun, 1 Sep 2019 13:46:07 +0300 Subject: Use a const funcs in redisContext. --- hiredis.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hiredis.h') diff --git a/hiredis.h b/hiredis.h index 68afb26..f02678a 100644 --- a/hiredis.h +++ b/hiredis.h @@ -203,7 +203,7 @@ typedef struct redisContextFuncs { /* Context for a connection to Redis */ typedef struct redisContext { - redisContextFuncs *funcs; /* Function table */ + const redisContextFuncs *funcs; /* Function table */ int err; /* Error flags, 0 when there is no error */ char errstr[128]; /* String representation of error when applicable */ -- cgit v1.2.3