gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 28/254: url: declare get_protocol_family() static


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 28/254: url: declare get_protocol_family() static
Date: Sat, 17 Jun 2017 16:51:00 +0200

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

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

commit fb67c977b98d8a7e1fcbed523fe6ce0c06ec1ac8
Author: Martin Kepplinger <address@hidden>
AuthorDate: Tue Apr 25 23:55:57 2017 +0200

    url: declare get_protocol_family() static
    
    get_protocol_family() is not defined static even though there is a
    static local forward declaration. Let's simply make the definition match
    it's declaration.
    
    Bug: https://curl.haxx.se/mail/lib-2017-04/0127.html
---
 lib/url.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/url.c b/lib/url.c
index 19388437a..6795a9c8f 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -6984,7 +6984,7 @@ CURLcode Curl_init_do(struct Curl_easy *data, struct 
connectdata *conn)
 * Returns the family as a single bit protocol identifier.
 */
 
-unsigned int get_protocol_family(unsigned int protocol)
+static unsigned int get_protocol_family(unsigned int protocol)
 {
   unsigned int family;
 

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



reply via email to

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