summaryrefslogtreecommitdiff
path: root/src/t_string.c
diff options
context:
space:
mode:
authorOran Agra <oran@redislabs.com>2020-10-04 18:10:21 +0300
committerGitHub <noreply@github.com>2020-10-04 18:10:21 +0300
commitf87a47dc97d69efcdc14dc162f41016b986e7d22 (patch)
tree480f403f4f81a5ce1987071b7191087ce7ef382b /src/t_string.c
parent6418d767e86b6fd98ba79253108b2e53966a04b3 (diff)
downloadredis-f87a47dc97d69efcdc14dc162f41016b986e7d22.tar.gz
fix new build warning about getGenericCommand (#7882)
Diffstat (limited to 'src/t_string.c')
-rw-r--r--src/t_string.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/t_string.c b/src/t_string.c
index a881b86f6..188f27dc0 100644
--- a/src/t_string.c
+++ b/src/t_string.c
@@ -30,6 +30,9 @@
#include "server.h"
#include <math.h> /* isnan(), isinf() */
+/* Forward declarations */
+int getGenericCommand(client *c);
+
/*-----------------------------------------------------------------------------
* String Commands
*----------------------------------------------------------------------------*/