From: Martin Kepplinger Date: Tue, 4 Apr 2017 20:04:38 +0000 (+0200) Subject: curl_sasl: declare mechtable static X-Git-Tag: curl-7_54_0~49 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d4413fefd20219ebf841e6213f4f2cacb31bf1d;p=curl curl_sasl: declare mechtable static struct mechtable is only used locally here. It can be declared static. --- 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 */