Thomas Faber : xmllite/tests: Fix build with MSVC.

Alexandre Julliard julliard at winehq.org
Mon Mar 26 12:29:29 CDT 2012


Module: wine
Branch: master
Commit: 4cd00f2b5ed377575678ebbee85e1f649e0f860f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4cd00f2b5ed377575678ebbee85e1f649e0f860f

Author: Thomas Faber <thfabba at gmx.de>
Date:   Mon Mar 19 17:01:19 2012 +0100

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)
 {




More information about the wine-cvs mailing list