Rather than an int, it returns a bool - so let's define it that way
Signed-off-by: John Ferlan <jferlan(a)redhat.com>
---
src/conf/virnetworkobj.c | 2 +-
src/conf/virnetworkobj.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/conf/virnetworkobj.c b/src/conf/virnetworkobj.c
index 2bd69dc..20f846d 100644
--- a/src/conf/virnetworkobj.c
+++ b/src/conf/virnetworkobj.c
@@ -1172,7 +1172,7 @@ virNetworkObjBridgeInUseHelper(const void *payload,
}
-int
+bool
virNetworkObjBridgeInUse(virNetworkObjListPtr nets,
const char *bridge,
const char *skipname)
diff --git a/src/conf/virnetworkobj.h b/src/conf/virnetworkobj.h
index 463be26..627277b 100644
--- a/src/conf/virnetworkobj.h
+++ b/src/conf/virnetworkobj.h
@@ -174,7 +174,7 @@ virNetworkObjDeleteConfig(const char *configDir,
const char *autostartDir,
virNetworkObjPtr net);
-int
+bool
virNetworkObjBridgeInUse(virNetworkObjListPtr nets,
const char *bridge,
const char *skipname);
--
2.9.5