[libvirt] [PATCH] esx: Use bool instead of int where appropriated

Eric Blake eblake at redhat.com
Fri Jun 18 17:06:48 UTC 2010


On 06/18/2010 10:48 AM, Matthias Bolte wrote:
> ---
>  src/esx/esx_util.c |   10 ++--
>  src/esx/esx_util.h |   10 ++--
>  src/esx/esx_vmx.c  |  126 +++++++++++++++++++++++++++------------------------
>  src/esx/esx_vmx.h  |    2 +-
>  4 files changed, 78 insertions(+), 70 deletions(-)

ACK, with one nit.  I couldn't easily verify whether <stdbool.h> had
been included prior to the declarations in esx_util.h and esx_vmx.h; you
should probably add #include <stdbool.h> to both of those headers to
make it obvious that the use of bool is safe.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100618/66204f4f/attachment-0001.sig>


More information about the libvir-list mailing list