Re: [PATCH 1/2] event: use bool in more places

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

 



On 01/06/2014 03:35 AM, Osier Yang wrote:
> On 04/01/14 03:31, Eric Blake wrote:
>> No need to use an int that only ever stores 0 and 1.
>>
>> * src/conf/object_event_private.h (_virObjectEventCallback):
>> Change deleted to bool.
>> * src/conf/object_event.c (virObjectEventDispatchMatchCallback):
>> Switch return type to bool.
>> (virObjectEventCallbackListMarkDeleteID): Update client.
>> * src/conf/domain_event.c (virDomainEventCallbackListMarkDelete):
>> Likewise.
>> ---
>>   src/conf/domain_event.c         |  2 +-
>>   src/conf/object_event.c         | 20 ++++++++------------
>>   src/conf/object_event_private.h |  2 +-
>>   3 files changed, 10 insertions(+), 14 deletions(-)
> ACK

Thanks; patch 1 pushed.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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