[libvirt] [PATCH 3/6] conf: Change return type of *AddressIsValid() to bool

Ján Tomko jtomko at redhat.com
Mon Sep 3 15:19:04 UTC 2018


On Fri, Aug 31, 2018 at 04:00:44PM +0200, Andrea Bolognani wrote:
>These are simple predicates, which makes bool a more
>appropriate return type than int.
>
>Signed-off-by: Andrea Bolognani <abologna at redhat.com>
>---
> src/conf/device_conf.c | 31 ++++++++++++++++---------------
> src/conf/device_conf.h | 10 +++++-----
> 2 files changed, 21 insertions(+), 20 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180903/58b35840/attachment-0001.sig>


More information about the libvir-list mailing list