Skip to content
Browse files

system_win32: fix clang warning

- Declare variable in header as extern.

Bug: 48b9ea4#commitcomment-34084597
  • Loading branch information...
gvanem authored and jay committed Jul 11, 2019
1 parent 11d7fe1 commit 26da21c84a1a4830c93fa515df4036f880f266f2
Showing with 1 addition and 1 deletion.
  1. +1 −1 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,

0 comments on commit 26da21c

Please sign in to comment.
You can’t perform that action at this time.