]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Change return type of *AddressIsValid() to bool
authorAndrea Bolognani <abologna@redhat.com>
Wed, 29 Aug 2018 16:29:41 +0000 (18:29 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 4 Sep 2018 08:54:32 +0000 (10:54 +0200)
commit75d490b75fa5abc5fe568bd01f43026f932ee41b
tree4ea018d403af16584a479aa5cd7f33cbd1aacc3e
parentab3f781a10c10cd45460339be5dac160061a15cf
conf: Change return type of *AddressIsValid() to bool

These are simple predicates, which makes bool a more
appropriate return type than int.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/device_conf.c
src/conf/device_conf.h