diff libpurple/dnssrv.c @ 18401:3c6bc8785af9

Fix up some linkage to compile on Visual Studio. He claims this doesn't break the MinGW builds. We'll see if this breaks anything functional. committer: Richard Laager <rlaager@wiktel.com>
author Nick Hebner <hebnern@gmail.com>
date Sun, 01 Jul 2007 01:54:25 +0000
parents 11a0f2b4ac83
children 44b4e8bd759b
line wrap: on
line diff
--- a/libpurple/dnssrv.c	Sun Jul 01 01:48:42 2007 +0000
+++ b/libpurple/dnssrv.c	Sun Jul 01 01:54:25 2007 +0000
@@ -50,11 +50,11 @@
 	u_char buf[1024];
 } queryans;
 #else
-static DNS_STATUS WINAPI (*MyDnsQuery_UTF8) (
+static DNS_STATUS (WINAPI *MyDnsQuery_UTF8) (
 	PCSTR lpstrName, WORD wType, DWORD fOptions,
 	PIP4_ARRAY aipServers, PDNS_RECORD* ppQueryResultsSet,
 	PVOID* pReserved) = NULL;
-static void WINAPI (*MyDnsRecordListFree) (PDNS_RECORD pRecordList,
+static void (WINAPI *MyDnsRecordListFree) (PDNS_RECORD pRecordList,
 	DNS_FREE_TYPE FreeType) = NULL;
 #endif