1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-05 17:28:47 +00:00

xml2: Revert some calling convention changes.

We require -mabi=ms now.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2022-03-07 20:41:50 +01:00
parent 91d13963f8
commit 5eb5d81793
6 changed files with 7 additions and 7 deletions

View File

@ -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;

View File

@ -872,7 +872,7 @@ int xmlThrDefDoValidityCheckingDefaultValue(int v) {
}
#undef xmlGenericError
xmlGenericErrorFunc * XMLCALL
xmlGenericErrorFunc *
__xmlGenericError(void) {
if (IS_MAIN_THREAD)
return (&xmlGenericError);

View File

@ -914,7 +914,7 @@ XMLPUBFUN int XMLCALL
/*
* Internal callback reporting routine
*/
XMLPUBFUN void XMLCDECL
XMLPUBFUN void XMLCALL
__xmlRaiseError (xmlStructuredErrorFunc schannel,
xmlGenericErrorFunc channel,
void *data,

View File

@ -26,7 +26,7 @@
#else
#define XMLCALL __cdecl
#endif
#define XMLCDECL WINAPIV
#define XMLCDECL __cdecl
/** DOC_ENABLE */
#else /* not Windows */

View File

@ -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,

View File

@ -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__