[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] Make virDomainObjFormat static.



Signed-off-by: Chris Lalancette <clalance redhat com>
---
 src/conf/domain_conf.c |    6 +++---
 src/conf/domain_conf.h |    3 ---
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 4b5510b..c13973b 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -5533,9 +5533,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;
diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h
index d3a0775..3c672c6 100644
--- a/src/conf/domain_conf.h
+++ b/src/conf/domain_conf.h
@@ -800,9 +800,6 @@ int virDomainDefAddDiskControllers(virDomainDefPtr def);
 #endif
 char *virDomainDefFormat(virDomainDefPtr def,
                          int flags);
-char *virDomainObjFormat(virCapsPtr caps,
-                         virDomainObjPtr obj,
-                         int flags);
 
 int virDomainCpuSetParse(const char **str,
                          char sep,
-- 
1.6.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]