summaryrefslogtreecommitdiff
path: root/src/or/eventdns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/eventdns.c')
-rw-r--r--src/or/eventdns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/eventdns.c b/src/or/eventdns.c
index 5f08b722f9..49fbe05456 100644
--- a/src/or/eventdns.c
+++ b/src/or/eventdns.c
@@ -2038,7 +2038,7 @@ eventdns_nameserver_ip_add_line(const char *ips) {
return 0;
}
-typedef DWORD(*GetNetworkParams_fn_t)(FIXED_INFO *, DWORD*);
+typedef DWORD(WINAPI *GetNetworkParams_fn_t)(FIXED_INFO *, DWORD*);
// Use the windows GetNetworkParams interface in iphlpapi.dll to
// figure out what our nameservers are.