changeset 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 73829f8055f0
children 238086459dc4
files libpurple/dnssrv.c libpurple/network.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
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
 
--- a/libpurple/network.c	Sun Jul 01 01:48:42 2007 +0000
+++ b/libpurple/network.c	Sun Jul 01 01:54:25 2007 +0000
@@ -517,7 +517,7 @@
 	WSAQUERYSET qs;
 	time_t last_trigger = time(NULL);
 
-	int WSAAPI (*MyWSANSPIoctl) (
+	int (WSAAPI *MyWSANSPIoctl) (
 		HANDLE hLookup, DWORD dwControlCode, LPVOID lpvInBuffer,
 		DWORD cbInBuffer, LPVOID lpvOutBuffer, DWORD cbOutBuffer,
 		LPDWORD lpcbBytesReturned, LPWSACOMPLETION lpCompletion) = NULL;