xmllite/tests: Fix build with MSVC.
Thomas Faber
thfabba at gmx.de
Mon Mar 19 11:05:59 CDT 2012
From c1b20bdf65d40ffcd75e450a312a3c96a2202c21 Mon Sep 17 00:00:00 2001
From: Thomas Faber <thfabba at gmx.de>
Date: Mon, 19 Mar 2012 17:01:19 +0100
Subject: xmllite/tests: Fix build with MSVC.
---
dlls/xmllite/tests/reader.c | 4 ++--
dlls/xmllite/tests/writer.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/xmllite/tests/reader.c b/dlls/xmllite/tests/reader.c
index ec47453..1f1b2ec 100644
--- a/dlls/xmllite/tests/reader.c
+++ b/dlls/xmllite/tests/reader.c
@@ -33,8 +33,8 @@
DEFINE_GUID(IID_IXmlReaderInput, 0x0b3ccc9b, 0x9214, 0x428b, 0xa2, 0xae, 0xef, 0x3a, 0xa8, 0x71, 0xaf, 0xda);
-static HRESULT WINAPI (*pCreateXmlReader)(REFIID riid, void **ppvObject, IMalloc *pMalloc);
-static HRESULT WINAPI (*pCreateXmlReaderInputWithEncodingName)(IUnknown *stream,
+static HRESULT (WINAPI *pCreateXmlReader)(REFIID riid, void **ppvObject, IMalloc *pMalloc);
+static HRESULT (WINAPI *pCreateXmlReaderInputWithEncodingName)(IUnknown *stream,
IMalloc *pMalloc,
LPCWSTR encoding,
BOOL hint,
diff --git a/dlls/xmllite/tests/writer.c b/dlls/xmllite/tests/writer.c
index e98db7b..af4e1a8 100644
--- a/dlls/xmllite/tests/writer.c
+++ b/dlls/xmllite/tests/writer.c
@@ -28,7 +28,7 @@
#include "xmllite.h"
#include "wine/test.h"
-static HRESULT WINAPI (*pCreateXmlWriter)(REFIID riid, void **ppvObject, IMalloc *pMalloc);
+static HRESULT (WINAPI *pCreateXmlWriter)(REFIID riid, void **ppvObject, IMalloc *pMalloc);
static void test_writer_create(void)
{
--
1.7.1.GIT
More information about the wine-patches
mailing list