Commit e742eeb6 authored by Alexandre Julliard's avatar Alexandre Julliard

xml2: Use WINAPIV calling convention for variadic functions.

parent 89cad8c4
......@@ -827,7 +827,7 @@ int xmlThrDefDoValidityCheckingDefaultValue(int v) {
}
#undef xmlGenericError
xmlGenericErrorFunc *
xmlGenericErrorFunc * XMLCALL
__xmlGenericError(void) {
if (IS_MAIN_THREAD)
return (&xmlGenericError);
......
......@@ -916,7 +916,7 @@ XMLPUBFUN int XMLCALL
/*
* Internal callback reporting routine
*/
XMLPUBFUN void XMLCALL
XMLPUBFUN void XMLCDECL
__xmlRaiseError (xmlStructuredErrorFunc schannel,
xmlGenericErrorFunc channel,
void *data,
......
......@@ -26,7 +26,7 @@
#else
#define XMLCALL __cdecl
#endif
#define XMLCDECL __cdecl
#define XMLCDECL WINAPIV
/** DOC_ENABLE */
#else /* not Windows */
......
......@@ -94,7 +94,7 @@ XMLPUBFUN xmlChar * XMLCALL
xmlStrncatNew (const xmlChar *str1,
const xmlChar *str2,
int len);
XMLPUBFUN int XMLCALL
XMLPUBFUN int XMLCDECL
xmlStrPrintf (xmlChar *buf,
int len,
const char *msg,
......
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