提交 8ba9e794 编写于 作者: C Chris Lalancette 提交者: Daniel Veillard

Make virDomainObjFormat static

* src/conf/domain_conf.c: make function static
* src/conf/domain_conf.h: remove it from header
上级 ee38d7e0
......@@ -5660,9 +5660,9 @@ char *virDomainDefFormat(virDomainDefPtr def,
return NULL;
}
char *virDomainObjFormat(virCapsPtr caps,
virDomainObjPtr obj,
int flags)
static char *virDomainObjFormat(virCapsPtr caps,
virDomainObjPtr obj,
int flags)
{
char *config_xml = NULL;
virBuffer buf = VIR_BUFFER_INITIALIZER;
......
......@@ -818,9 +818,6 @@ int virDomainDefAddImplicitControllers(virDomainDefPtr def);
#endif
char *virDomainDefFormat(virDomainDefPtr def,
int flags);
char *virDomainObjFormat(virCapsPtr caps,
virDomainObjPtr obj,
int flags);
int virDomainCpuSetParse(const char **str,
char sep,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册