* [PATCH] target/i386/hvf: fix clang compilation warning
@ 2024-11-04 22:21 Pierrick Bouvier
2024-11-05 9:04 ` Paolo Bonzini
0 siblings, 1 reply; 2+ messages in thread
From: Pierrick Bouvier @ 2024-11-04 22:21 UTC (permalink / raw)
To: qemu-devel
Cc: peter.maydell, pbonzini, Cameron Esfahani, Roman Bolshakov,
Pierrick Bouvier
../target/i386/hvf/x86_cpuid.c:35:28: error: a function declaration without a prototype is deprecated in all versions of C
Fixes: 7cac7aa7040a823c585f1578a38f28e83c8bf3e1
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
---
target/i386/hvf/x86_cpuid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/i386/hvf/x86_cpuid.c b/target/i386/hvf/x86_cpuid.c
index 3a116548a3d..492e8bfc809 100644
--- a/target/i386/hvf/x86_cpuid.c
+++ b/target/i386/hvf/x86_cpuid.c
@@ -32,7 +32,7 @@
static bool cached_xcr0;
static uint64_t supported_xcr0;
-static void cache_host_xcr0()
+static void cache_host_xcr0(void)
{
if (cached_xcr0) {
return;
--
2.39.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] target/i386/hvf: fix clang compilation warning
2024-11-04 22:21 [PATCH] target/i386/hvf: fix clang compilation warning Pierrick Bouvier
@ 2024-11-05 9:04 ` Paolo Bonzini
0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2024-11-05 9:04 UTC (permalink / raw)
To: Pierrick Bouvier
Cc: qemu-devel, peter.maydell, pbonzini, Cameron Esfahani,
Roman Bolshakov
Queued, thanks.
Paolo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-11-05 9:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-04 22:21 [PATCH] target/i386/hvf: fix clang compilation warning Pierrick Bouvier
2024-11-05 9:04 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).