gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 155/205: curl_sasl: declare mechtable static


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 155/205: curl_sasl: declare mechtable static
Date: Thu, 20 Apr 2017 16:21:35 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.54.0
in repository gnurl.

commit 2d4413fefd20219ebf841e6213f4f2cacb31bf1d
Author: Martin Kepplinger <address@hidden>
AuthorDate: Tue Apr 4 22:04:38 2017 +0200

    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(-)

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 */

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]