You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
1 month ago
..
install.cpp qga: fix missing static and prototypes windows warnings 1 month ago
install.h qemu-ga: Make QGA VSS provider service run only when needed 8 years ago
meson.build QGA VSS: Add wrapper to send log to debugger and stderr 1 year ago
provider.cpp qga: fix missing static and prototypes windows warnings 1 month ago
qga-vss.def qga/win32: Use rundll for VSS installation 2 years ago
qga-vss.idl
requester.cpp qga: fix missing static and prototypes windows warnings 1 month ago
requester.h Replace GCC_FMT_ATTR with G_GNUC_PRINTF 3 years ago
vss-common.h qga/vss-win32: check old VSS SDK headers 3 years ago
vss-debug.cpp QGA VSS: Add wrapper to send log to debugger and stderr 1 year ago
vss-debug.h QGA VSS: Add wrapper to send log to debugger and stderr 1 year ago
vss-handles.h qga/win/vss: query VSS backup type 2 years ago