mirror of
https://github.com/mii443/qemu.git
synced 2025-12-03 19:18:23 +00:00
util/oslib-win32: Fix compiling with Clang from MSYS2
Clang complains:
../util/oslib-win32.c:483:56: error: omitting the parameter name in a
function definition is a C2x extension [-Werror,-Wc2x-extensions]
win32_close_exception_handler(struct _EXCEPTION_RECORD*,
^
Fix it by adding parameter names.
Message-Id: <20230728142748.305341-4-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
@@ -480,8 +480,9 @@ int qemu_bind_wrap(int sockfd, const struct sockaddr *addr,
|
|||||||
}
|
}
|
||||||
|
|
||||||
EXCEPTION_DISPOSITION
|
EXCEPTION_DISPOSITION
|
||||||
win32_close_exception_handler(struct _EXCEPTION_RECORD*,
|
win32_close_exception_handler(struct _EXCEPTION_RECORD *exception_record,
|
||||||
void*, struct _CONTEXT*, void*)
|
void *registration, struct _CONTEXT *context,
|
||||||
|
void *dispatcher)
|
||||||
{
|
{
|
||||||
return EXCEPTION_EXECUTE_HANDLER;
|
return EXCEPTION_EXECUTE_HANDLER;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user