summaryrefslogtreecommitdiff
path: root/lib/curl_sasl.c
diff options
context:
space:
mode:
authorMartin Kepplinger <martink@posteo.de>2017-04-04 22:04:38 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-04-04 22:59:34 +0200
commit2d4413fefd20219ebf841e6213f4f2cacb31bf1d (patch)
tree54d6913380739fa02255a7b37c5c964cabfd6146 /lib/curl_sasl.c
parent36e604fc78396d1f69c20e69e13302bce7471e78 (diff)
downloadcurl-2d4413fefd20219ebf841e6213f4f2cacb31bf1d.tar.gz
curl_sasl: declare mechtable static
struct mechtable is only used locally here. It can be declared static.
Diffstat (limited to 'lib/curl_sasl.c')
-rw-r--r--lib/curl_sasl.c2
1 files changed, 1 insertions, 1 deletions
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 */