comctl32/tests: make v6 functions inline
André Hentschel
nerv at dawncrow.de
Fri Oct 30 16:47:53 CDT 2009
So that there are no warnings if tests only use the constant variables in that header.
---
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 21a8e4f..ae3dbbe 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)
+static inline void unload_v6_module(ULONG_PTR cookie)
{
HANDLE hKernel32;
BOOL (WINAPI *pDeactivateActCtx)(DWORD, ULONG_PTR);
@@ -74,7 +74,7 @@ static void unload_v6_module(ULONG_PTR cookie)
DeleteFileA(manifest_name);
}
-static BOOL load_v6_module(ULONG_PTR *pcookie)
+static inline BOOL load_v6_module(ULONG_PTR *pcookie)
{
HANDLE hKernel32;
HANDLE (WINAPI *pCreateActCtxA)(ACTCTXA*);
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list