[libvirt] [PATCH] Make virDomainObjFormat static.

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

 



Signed-off-by: Chris Lalancette <clalance@xxxxxxxxxx>
---
 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]