From fba3dfd1565465a5cf46025b586ee0c1d9e92cb3 Mon Sep 17 00:00:00 2001 From: Chris Lalancette Date: Wed, 31 Mar 2010 16:25:41 -0400 Subject: [PATCH] Make virDomainLoadConfig static. Signed-off-by: Chris Lalancette --- src/conf/domain_conf.c | 14 +++++++------- src/conf/domain_conf.h | 8 -------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index bc24439a99..067f053369 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -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; diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h index 8de352b208..b789289851 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -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, -- GitLab