Commit 5eb5d817 authored by Alexandre Julliard's avatar Alexandre Julliard

xml2: Revert some calling convention changes.

We require -mabi=ms now. Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 91d13963
......@@ -1416,7 +1416,7 @@ void
htmlInitAutoClose(void) {
}
static int __cdecl
static int
htmlCompareTags(const void *key, const void *member) {
const xmlChar *tag = (const xmlChar *) key;
const htmlElemDesc *desc = (const htmlElemDesc *) member;
......@@ -1460,7 +1460,7 @@ htmlGetEndPriority (const xmlChar *name) {
}
static int __cdecl
static int
htmlCompareStartClose(const void *vkey, const void *member) {
const htmlStartCloseEntry *key = (const htmlStartCloseEntry *) vkey;
const htmlStartCloseEntry *entry = (const htmlStartCloseEntry *) member;
......
......@@ -872,7 +872,7 @@ int xmlThrDefDoValidityCheckingDefaultValue(int v) {
}
#undef xmlGenericError
xmlGenericErrorFunc * XMLCALL
xmlGenericErrorFunc *
__xmlGenericError(void) {
if (IS_MAIN_THREAD)
return (&xmlGenericError);
......
......@@ -914,7 +914,7 @@ XMLPUBFUN int XMLCALL
/*
* Internal callback reporting routine
*/
XMLPUBFUN void XMLCDECL
XMLPUBFUN void XMLCALL
__xmlRaiseError (xmlStructuredErrorFunc schannel,
xmlGenericErrorFunc channel,
void *data,
......
......@@ -26,7 +26,7 @@
#else
#define XMLCALL __cdecl
#endif
#define XMLCDECL WINAPIV
#define XMLCDECL __cdecl
/** DOC_ENABLE */
#else /* not Windows */
......
......@@ -94,7 +94,7 @@ XMLPUBFUN xmlChar * XMLCALL
xmlStrncatNew (const xmlChar *str1,
const xmlChar *str2,
int len);
XMLPUBFUN int XMLCDECL
XMLPUBFUN int XMLCALL
xmlStrPrintf (xmlChar *buf,
int len,
const char *msg,
......
......@@ -115,7 +115,7 @@ int __xmlRandom(void);
#endif
XMLPUBFUN xmlChar * XMLCALL xmlEscapeFormatString(xmlChar **msg);
int XMLCALL xmlInputReadCallbackNop(void *context, char *buffer, int len);
int xmlInputReadCallbackNop(void *context, char *buffer, int len);
#ifdef IN_LIBXML
#ifdef __GNUC__
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment