aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-08-13 12:00:33 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-08-13 12:00:33 +0000
commit9f14744d164e71540f3b5e43c8dbb5c546cd9a95 (patch)
treef7ecb35844b45d7b439619a0ef5a8b11a65f5d5c
parent1dc8c1dbc8f4ea4cf347b8142030c9808c779728 (diff)
Harshal Pradhan made minor syntax change to make this build with MSVC 7.1
-rw-r--r--ares/ares_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/ares_init.c b/ares/ares_init.c
index 0a33fd924..0fbad973b 100644
--- a/ares/ares_init.c
+++ b/ares/ares_init.c
@@ -294,7 +294,7 @@ static int get_iphlpapi_dns_info (char *ret_buf, size_t ret_size)
{
FIXED_INFO *fi = alloca (sizeof(*fi));
DWORD size = sizeof (*fi);
- DWORD WINAPI (*GetNetworkParams) (FIXED_INFO*, DWORD*); /* available only on Win-98/2000+ */
+ DWORD (WINAPI *GetNetworkParams) (FIXED_INFO*, DWORD*); /* available only on Win-98/2000+ */
HMODULE handle;
IP_ADDR_STRING *ipAddr;
int i, count = 0;