From: Daniel Stenberg Date: Fri, 13 Aug 2004 12:00:33 +0000 (+0000) Subject: Harshal Pradhan made minor syntax change to make this build with MSVC 7.1 X-Git-Tag: curl-7_12_2~205 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f14744d164e71540f3b5e43c8dbb5c546cd9a95;p=curl Harshal Pradhan made minor syntax change to make this build with MSVC 7.1 --- 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;