network: Fix virNetworkObjBridgeInUse return type

Rather than an int, it returns a bool - so let's define it that way

Signed-off-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
John Ferlan 2017-08-17 15:41:37 -04:00
parent c447086f01
commit 5aaa304f8d
2 changed files with 2 additions and 2 deletions

View File

@ -1172,7 +1172,7 @@ virNetworkObjBridgeInUseHelper(const void *payload,
}
int
bool
virNetworkObjBridgeInUse(virNetworkObjListPtr nets,
const char *bridge,
const char *skipname)

View File

@ -174,7 +174,7 @@ virNetworkObjDeleteConfig(const char *configDir,
const char *autostartDir,
virNetworkObjPtr net);
int
bool
virNetworkObjBridgeInUse(virNetworkObjListPtr nets,
const char *bridge,
const char *skipname);