comctl32/tests: make v6 functions inline (try 2)
André Hentschel
nerv at dawncrow.de
Sat Oct 31 06:09:02 CDT 2009
So that there are no warnings if tests only use the constant variables in that header.
sry, now using current git. (thx Nikolay)
Maybe i should wait until my patch is finished and relies on it, but somehow its a general problem so ill send a try 2.
---
dlls/comctl32/tests/v6util.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/tests/v6util.h b/dlls/comctl32/tests/v6util.h
index 848e95b..66fbc2f 100644
--- a/dlls/comctl32/tests/v6util.h
+++ b/dlls/comctl32/tests/v6util.h
@@ -56,7 +56,7 @@ static const CHAR manifest[] =
"</dependency>\n"
"</assembly>\n";
-static void unload_v6_module(ULONG_PTR cookie, HANDLE hCtx)
+static inline void unload_v6_module(ULONG_PTR cookie, HANDLE hCtx)
{
HANDLE hKernel32;
BOOL (WINAPI *pDeactivateActCtx)(DWORD, ULONG_PTR);
@@ -77,7 +77,7 @@ static void unload_v6_module(ULONG_PTR cookie, HANDLE hCtx)
DeleteFileA(manifest_name);
}
-static BOOL load_v6_module(ULONG_PTR *pcookie, HANDLE *hCtx)
+static inline BOOL load_v6_module(ULONG_PTR *pcookie, HANDLE *hCtx)
{
HANDLE hKernel32;
HANDLE (WINAPI *pCreateActCtxA)(ACTCTXA*);
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list