Re: [patch] remove unnecessary bool from qemu-kvm.c

2008-11-18 Thread Avi Kivity

Jes Sorensen wrote:

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.


--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[patch] remove unnecessary bool from qemu-kvm.c

2008-11-14 Thread Jes Sorensen

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(-)

Index: kvm-userspace.git/qemu/qemu-kvm.c
===
--- kvm-userspace.git.orig/qemu/qemu-kvm.c
+++ kvm-userspace.git/qemu/qemu-kvm.c
@@ -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 {