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: http://git.ipfire.org/?a=commitdiff_plain;h=2d4413fefd20219ebf841e6213f4f2cacb31bf1d;p=thirdparty%2Fcurl.git 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 807f5de7e8..b3789dab00 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 */