remove unnecessary bool from qemu-kvm.c
PATCH 1/1 remove unnecessary bool from qemu-kvm.c
Hi,
In support of Avi's preference for half line patches, I split out the bool eliminating bits too.
Cheers,
Jes
Replace unnecessary use of _Bool type with int.
Signed-off-by Jes Sorensen <[email protected]>
--- qemu/qemu-kvm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
qemu/qemu-kvm.c +1 -2
@@ -28,7 +28,6 @@#include <sys/syscall.h> #include <sys/mman.h> -#define bool _Bool#define false 0#define true 1
@@ -53,7 +52,7 @@struct qemu_kvm_work_item *next;void (*func)(void *data);void *data; -bool done; +int done; };struct vcpu_info {
Quoted 3 lines · Jes Sorensen
In support of Avi's preference for half line patches, I split out the bool eliminating bits too.
I actually like _Bool, but as we're trying to close the gap with qemu, I applied this patch.
Signature · 1 line
error compiling committee.c: too many arguments to function