提交 5aaa304f 编写于 作者: J John Ferlan

network: Fix virNetworkObjBridgeInUse return type

Rather than an int, it returns a bool - so let's define it that way
Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
上级 c447086f
...@@ -1172,7 +1172,7 @@ virNetworkObjBridgeInUseHelper(const void *payload, ...@@ -1172,7 +1172,7 @@ virNetworkObjBridgeInUseHelper(const void *payload,
} }
int bool
virNetworkObjBridgeInUse(virNetworkObjListPtr nets, virNetworkObjBridgeInUse(virNetworkObjListPtr nets,
const char *bridge, const char *bridge,
const char *skipname) const char *skipname)
......
...@@ -174,7 +174,7 @@ virNetworkObjDeleteConfig(const char *configDir, ...@@ -174,7 +174,7 @@ virNetworkObjDeleteConfig(const char *configDir,
const char *autostartDir, const char *autostartDir,
virNetworkObjPtr net); virNetworkObjPtr net);
int bool
virNetworkObjBridgeInUse(virNetworkObjListPtr nets, virNetworkObjBridgeInUse(virNetworkObjListPtr nets,
const char *bridge, const char *bridge,
const char *skipname); const char *skipname);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册