[PATCH] mshtml: Remove WINAPI on static functions where not needed.

Francois Gouget fgouget at free.fr
Fri Aug 27 05:47:50 CDT 2021


Signed-off-by: Francois Gouget <fgouget at free.fr>
---
This used to be needed on macOS due to some compiler issue but I'm not 
sure if that's still the case.
Let me know if this type of patch is not desired anymore.
---
 dlls/mshtml/htmlelem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/mshtml/htmlelem.c b/dlls/mshtml/htmlelem.c
index 9ad538d2b00..d9554f4668d 100644
--- a/dlls/mshtml/htmlelem.c
+++ b/dlls/mshtml/htmlelem.c
@@ -6515,7 +6515,7 @@ static const WCHAR *find_token(const WCHAR *list, const WCHAR *token, unsigned i
     return NULL;
 }
 
-static HRESULT WINAPI token_list_add_remove(IWineDOMTokenList *iface, BSTR token, BOOL remove)
+static HRESULT token_list_add_remove(IWineDOMTokenList *iface, BSTR token, BOOL remove)
 {
     struct token_list *token_list = impl_from_IWineDOMTokenList(iface);
     unsigned int i, len, old_len, new_len;
-- 
2.20.1



More information about the wine-devel mailing list