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

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

 



2010/6/18 Eric Blake <eblake@xxxxxxxxxx>:
> 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.
>

esx_util.h already includes <stdbool.h> (outside of the diff). I added
a <stdbool.h> include to esx_vmx.h now.

Thanks, pushed.

Matthias

--
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]