From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jes Sorensen Subject: [patch] remove unnecessary bool from qemu-kvm.c Date: Fri, 14 Nov 2008 16:45:51 +0100 Message-ID: <491D9D2F.6080502@sgi.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070903080907030002040003" To: Avi Kivity , "kvm@vger.kernel.org" Return-path: Received: from relay1.sgi.com ([192.48.179.29]:37343 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750957AbYKNPpz (ORCPT ); Fri, 14 Nov 2008 10:45:55 -0500 Sender: kvm-owner@vger.kernel.org List-ID: This is a multi-part message in MIME format. --------------070903080907030002040003 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, In support of Avi's preference for half line patches, I split out the bool eliminating bits too. Cheers, Jes --------------070903080907030002040003 Content-Type: text/plain; name="0008-qemu-no-bool-type.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="0008-qemu-no-bool-type.patch" Replace unnecessary use of _Bool type with int. Signed-off-by: Jes Sorensen --- 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 #include -#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 { --------------070903080907030002040003--