]> granicus.if.org Git - curl/commitdiff
Harshal Pradhan made minor syntax change to make this build with MSVC 7.1
authorDaniel Stenberg <daniel@haxx.se>
Fri, 13 Aug 2004 12:00:33 +0000 (12:00 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 13 Aug 2004 12:00:33 +0000 (12:00 +0000)
ares/ares_init.c

index 0a33fd92453f3a333a1254eebc15a9b826e0203a..0fbad973ba0f2eb8921066147bcaf770fccf0d0a 100644 (file)
@@ -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;