mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
system_win32: fix clang warning
- Declare variable in header as extern. Bug: https://github.com/curl/curl/commit/48b9ea4#commitcomment-34084597
This commit is contained in:
parent
11d7fe118d
commit
26da21c84a
@ -52,7 +52,7 @@ typedef enum {
|
|||||||
typedef unsigned int(WINAPI *IF_NAMETOINDEX_FN)(const char *);
|
typedef unsigned int(WINAPI *IF_NAMETOINDEX_FN)(const char *);
|
||||||
|
|
||||||
/* This is used instead of if_nametoindex if available on Windows */
|
/* This is used instead of if_nametoindex if available on Windows */
|
||||||
IF_NAMETOINDEX_FN Curl_if_nametoindex;
|
extern IF_NAMETOINDEX_FN Curl_if_nametoindex;
|
||||||
|
|
||||||
/* This is used to verify if we are running on a specific windows version */
|
/* This is used to verify if we are running on a specific windows version */
|
||||||
bool Curl_verify_windows_version(const unsigned int majorVersion,
|
bool Curl_verify_windows_version(const unsigned int majorVersion,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user