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

Eric Blake eblake at redhat.com
Mon Jan 6 15:01:55 UTC 2014


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

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


More information about the libvir-list mailing list