projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78be258
)
target/i386/hvf: fix clang compilation warning
author
Pierrick Bouvier
<pierrick.bouvier@linaro.org>
Mon, 4 Nov 2024 22:21:02 +0000
(14:21 -0800)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 7 Nov 2024 15:54:02 +0000
(16:54 +0100)
../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>
Link:
https://lore.kernel.org/r/20241104222102.1522688-1-pierrick.bouvier@linaro.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/hvf/x86_cpuid.c
patch
|
blob
|
history
diff --git
a/target/i386/hvf/x86_cpuid.c
b/target/i386/hvf/x86_cpuid.c
index 3a116548a3dc7a2d99073069ec7fc236ba2c8020..492e8bfc8091ed0b2e1bbefdf64ffa7ba5948280 100644
(file)
--- 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;