mirror of https://gitee.com/openkylin/libvirt.git
Make virDomainLoadConfig static.
Signed-off-by: Chris Lalancette <clalance@redhat.com>
This commit is contained in:
parent
f76c3493d8
commit
fba3dfd156
|
@ -6129,13 +6129,13 @@ cleanup:
|
|||
}
|
||||
|
||||
|
||||
virDomainObjPtr virDomainLoadConfig(virCapsPtr caps,
|
||||
virDomainObjListPtr doms,
|
||||
const char *configDir,
|
||||
const char *autostartDir,
|
||||
const char *name,
|
||||
virDomainLoadConfigNotify notify,
|
||||
void *opaque)
|
||||
static virDomainObjPtr virDomainLoadConfig(virCapsPtr caps,
|
||||
virDomainObjListPtr doms,
|
||||
const char *configDir,
|
||||
const char *autostartDir,
|
||||
const char *name,
|
||||
virDomainLoadConfigNotify notify,
|
||||
void *opaque)
|
||||
{
|
||||
char *configFile = NULL, *autostartLink = NULL;
|
||||
virDomainDefPtr def = NULL;
|
||||
|
|
|
@ -962,14 +962,6 @@ typedef void (*virDomainLoadConfigNotify)(virDomainObjPtr dom,
|
|||
int newDomain,
|
||||
void *opaque);
|
||||
|
||||
virDomainObjPtr virDomainLoadConfig(virCapsPtr caps,
|
||||
virDomainObjListPtr doms,
|
||||
const char *configDir,
|
||||
const char *autostartDir,
|
||||
const char *name,
|
||||
virDomainLoadConfigNotify notify,
|
||||
void *opaque);
|
||||
|
||||
int virDomainLoadAllConfigs(virCapsPtr caps,
|
||||
virDomainObjListPtr doms,
|
||||
const char *configDir,
|
||||
|
|
Loading…
Reference in New Issue