qemu/qga/vss-win32
Pierrick Bouvier 73aaabcf22 qga: fix missing static and prototypes windows warnings
Reported by clang++, but not by g++.

../qga/vss-win32/provider.cpp:48:6: error: no previous prototype for function 'LockModule' [-Werror,-Wmissing-prototypes]
   48 | void LockModule(BOOL lock)
      |      ^
../qga/vss-win32/provider.cpp:48:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   48 | void LockModule(BOOL lock)
      | ^
      | static
../qga/vss-win32/provider.cpp:531:13: error: no previous prototype for function 'DllMain' [-Werror,-Wmissing-prototypes]
  531 | BOOL WINAPI DllMain(HINSTANCE hinstDll, DWORD dwReason, LPVOID lpReserved)
      |             ^
../qga/vss-win32/provider.cpp:531:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  531 | BOOL WINAPI DllMain(HINSTANCE hinstDll, DWORD dwReason, LPVOID lpReserved)
      | ^
      | static

Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Link: https://lore.kernel.org/r/20241031040426.772604-7-pierrick.bouvier@linaro.org
Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
2024-11-04 14:16:14 +02:00
..
install.cpp qga: fix missing static and prototypes windows warnings 2024-11-04 14:16:14 +02:00
install.h
meson.build QGA VSS: Add wrapper to send log to debugger and stderr 2023-07-10 15:54:40 +03:00
provider.cpp qga: fix missing static and prototypes windows warnings 2024-11-04 14:16:14 +02:00
qga-vss.def qga/win32: Use rundll for VSS installation 2023-03-08 18:23:40 +02:00
qga-vss.idl
requester.cpp qga: fix missing static and prototypes windows warnings 2024-11-04 14:16:14 +02:00
requester.h Replace GCC_FMT_ATTR with G_GNUC_PRINTF 2022-03-22 14:40:51 +04:00
vss-common.h qga/vss-win32: check old VSS SDK headers 2022-03-15 11:26:20 +01:00
vss-debug.cpp QGA VSS: Add wrapper to send log to debugger and stderr 2023-07-10 15:54:40 +03:00
vss-debug.h QGA VSS: Add wrapper to send log to debugger and stderr 2023-07-10 15:54:40 +03:00
vss-handles.h qga/win/vss: query VSS backup type 2023-03-08 18:26:49 +02:00