target/i386/hvf: fix clang compilation warning
../target/i386/hvf/x86_cpuid.c:35:28: error: a function declaration without a prototype is deprecated in all versions of C
Fixes: 7cac7aa704
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>
This commit is contained in:
parent
78be258c0e
commit
520c0bb2be
@ -32,7 +32,7 @@
|
|||||||
static bool cached_xcr0;
|
static bool cached_xcr0;
|
||||||
static uint64_t supported_xcr0;
|
static uint64_t supported_xcr0;
|
||||||
|
|
||||||
static void cache_host_xcr0()
|
static void cache_host_xcr0(void)
|
||||||
{
|
{
|
||||||
if (cached_xcr0) {
|
if (cached_xcr0) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user