Module: wine Branch: master Commit: 05509812798f5d21e7c9055e624c613a2dd26a4d URL: https://source.winehq.org/git/wine.git/?a=commit;h=05509812798f5d21e7c9055e6...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Mar 7 20:41:57 2022 +0100
xslt: Revert some calling convention changes.
We require -mabi=ms now.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
libs/xslt/libxslt/xsltutils.c | 6 +++--- libs/xslt/libxslt/xsltutils.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/libs/xslt/libxslt/xsltutils.c b/libs/xslt/libxslt/xsltutils.c index 4717c0e8548..94097b9d209 100644 --- a/libs/xslt/libxslt/xsltutils.c +++ b/libs/xslt/libxslt/xsltutils.c @@ -511,7 +511,7 @@ xsltMessage(xsltTransformContextPtr ctxt, xmlNodePtr node, xmlNodePtr inst) { * * Default handler for out of context error messages. */ -static void WINAPIV LIBXSLT_ATTR_FORMAT(2,3) +static void LIBXSLT_ATTR_FORMAT(2,3) xsltGenericErrorDefaultFunc(void *ctx ATTRIBUTE_UNUSED, const char *msg, ...) { va_list args;
@@ -557,7 +557,7 @@ xsltSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler) { * * Default handler for out of context error messages. */ -static void WINAPIV LIBXSLT_ATTR_FORMAT(2,3) +static void LIBXSLT_ATTR_FORMAT(2,3) xsltGenericDebugDefaultFunc(void *ctx ATTRIBUTE_UNUSED, const char *msg, ...) { va_list args;
@@ -698,7 +698,7 @@ xsltSetTransformErrorFunc(xsltTransformContextPtr ctxt, * Display and format an error messages, gives file, line, position and * extra parameters, will use the specific transformation context if available */ -void WINAPIV +void xsltTransformError(xsltTransformContextPtr ctxt, xsltStylesheetPtr style, xmlNodePtr node, diff --git a/libs/xslt/libxslt/xsltutils.h b/libs/xslt/libxslt/xsltutils.h index 2b5f17a8b11..ea6c3740540 100644 --- a/libs/xslt/libxslt/xsltutils.h +++ b/libs/xslt/libxslt/xsltutils.h @@ -160,7 +160,7 @@ XSLTPUBFUN void XSLTCALL xsltSetTransformErrorFunc (xsltTransformContextPtr ctxt, void *ctx, xmlGenericErrorFunc handler); -XSLTPUBFUN void WINAPIV +XSLTPUBFUN void XSLTCALL xsltTransformError (xsltTransformContextPtr ctxt, xsltStylesheetPtr style, xmlNodePtr node,