[libvirt] [PATCH 11/23] cpu: x86: Fix return types of x86cpuidMatch and x86cpuidMatchMasked

Peter Krempa pkrempa at redhat.com
Mon Oct 14 12:57:34 UTC 2013


These return boolean results.
---
 src/cpu/cpu_x86.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cpu/cpu_x86.c b/src/cpu/cpu_x86.c
index 454f842..b4ed6cf 100644
--- a/src/cpu/cpu_x86.c
+++ b/src/cpu/cpu_x86.c
@@ -90,7 +90,7 @@ struct virCPUx86DataIterator {
     { data, -1, false }


-static int
+static bool
 x86cpuidMatch(const virCPUx86CPUID *cpuid1,
               const virCPUx86CPUID *cpuid2)
 {
@@ -101,7 +101,7 @@ x86cpuidMatch(const virCPUx86CPUID *cpuid1,
 }


-static int
+static bool
 x86cpuidMatchMasked(const virCPUx86CPUID *cpuid,
                     const virCPUx86CPUID *mask)
 {
-- 
1.8.3.2




More information about the libvir-list mailing list