[PATCH] mshtml: Mark the assembler wrapper functions as hidden
Marcus Meissner
meissner at suse.de
Mon Jan 2 14:57:30 CST 2012
---
dlls/mshtml/ifacewrap.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/ifacewrap.c b/dlls/mshtml/ifacewrap.c
index 0e49190..f09c777 100644
--- a/dlls/mshtml/ifacewrap.c
+++ b/dlls/mshtml/ifacewrap.c
@@ -88,7 +88,7 @@ static HRESULT WINAPI wrapper_Release(IUnknown *iface)
#ifdef __i386__
#define DEFINE_WRAPPER_FUNC(n, off, x) \
- HRESULT wrapper_func_##n(IUnknown*); \
+ HRESULT wrapper_func_##n(IUnknown*) DECLSPEC_HIDDEN; \
__ASM_GLOBAL_FUNC(wrapper_func_##n, \
"movl 4(%esp), %eax\n\t" \
"movl 4(%eax), %eax\n\t" \
@@ -99,7 +99,7 @@ static HRESULT WINAPI wrapper_Release(IUnknown *iface)
#elif defined(__x86_64__)
#define DEFINE_WRAPPER_FUNC(n, x, off) \
- HRESULT WINAPI wrapper_func_##n(IUnknown*); \
+ HRESULT WINAPI wrapper_func_##n(IUnknown*) DECLSPEC_HIDDEN; \
__ASM_GLOBAL_FUNC(wrapper_func_##n, \
"movq 8(%rcx), %rcx\n\t" \
"movq 0(%rcx), %rax\n\t" \
--
1.7.1
More information about the wine-patches
mailing list