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

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



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


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