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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 c9a9e3e..3ef079e 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]