From 2d4413fefd20219ebf841e6213f4f2cacb31bf1d Mon Sep 17 00:00:00 2001 From: Martin Kepplinger Date: Tue, 4 Apr 2017 22:04:38 +0200 Subject: curl_sasl: declare mechtable static struct mechtable is only used locally here. It can be declared static. --- lib/curl_sasl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/curl_sasl.c') diff --git a/lib/curl_sasl.c b/lib/curl_sasl.c index 807f5de7e..b3789dab0 100644 --- a/lib/curl_sasl.c +++ b/lib/curl_sasl.c @@ -50,7 +50,7 @@ #include "memdebug.h" /* Supported mechanisms */ -const struct { +static const struct { const char *name; /* Name */ size_t len; /* Name length */ unsigned int bit; /* Flag bit */ -- cgit v1.2.3