summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGisle Vanem <gisle.vanem@gmail.com>2019-07-11 02:26:57 -0400
committerJay Satiro <raysatiro@yahoo.com>2019-07-11 02:27:04 -0400
commit26da21c84a1a4830c93fa515df4036f880f266f2 (patch)
treeb9401f05db02f504a0c597f975d035257cd72d6f
parent11d7fe118dc980d104a8ff2e209dec0151c56939 (diff)
downloadcurl-26da21c84a1a4830c93fa515df4036f880f266f2.tar.gz
system_win32: fix clang warning
- Declare variable in header as extern. Bug: https://github.com/curl/curl/commit/48b9ea4#commitcomment-34084597
-rw-r--r--lib/system_win32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system_win32.h b/lib/system_win32.h
index ef83a512c..d2882fce1 100644
--- a/lib/system_win32.h
+++ b/lib/system_win32.h
@@ -52,7 +52,7 @@ typedef enum {
typedef unsigned int(WINAPI *IF_NAMETOINDEX_FN)(const char *);
/* 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 */
bool Curl_verify_windows_version(const unsigned int majorVersion,