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.
---

pretty random and useless, other than this makes sparse shut up.

 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;
 
-- 
2.11.0

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to