Module: wine Branch: master Commit: 4cd00f2b5ed377575678ebbee85e1f649e0f860f URL: http://source.winehq.org/git/wine.git/?a=commit;h=4cd00f2b5ed377575678ebbee8...
Author: Thomas Faber thfabba@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) {