mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
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
This commit is contained in:
parent
e7f8ac1945
commit
fb67c977b9
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user