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

[libvirt] [PATCH 3/8] Make virDomainSnapshotObjListDeinit static.



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

diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 43d74cf..6dc26c3 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -733,6 +733,7 @@ void virDomainDefFree(virDomainDefPtr def)
 
 #ifndef PROXY
 
+static void virDomainSnapshotObjListDeinit(virDomainSnapshotObjListPtr snapshots);
 static void virDomainObjFree(virDomainObjPtr dom)
 {
     if (!dom)
@@ -6811,7 +6812,7 @@ static void virDomainSnapshotObjListDeallocator(void *payload,
     virDomainSnapshotObjUnref(obj);
 }
 
-void virDomainSnapshotObjListDeinit(virDomainSnapshotObjListPtr snapshots)
+static void virDomainSnapshotObjListDeinit(virDomainSnapshotObjListPtr snapshots)
 {
     if (snapshots->objs)
         virHashFree(snapshots->objs, virDomainSnapshotObjListDeallocator);
diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h
index 0e5a6a6..de0c99a 100644
--- a/src/conf/domain_conf.h
+++ b/src/conf/domain_conf.h
@@ -783,7 +783,6 @@ virDomainSnapshotObjPtr virDomainSnapshotAssignDef(virDomainSnapshotObjListPtr s
                                                    const virDomainSnapshotDefPtr def);
 
 int virDomainSnapshotObjListInit(virDomainSnapshotObjListPtr objs);
-void virDomainSnapshotObjListDeinit(virDomainSnapshotObjListPtr objs);
 int virDomainSnapshotObjListGetNames(virDomainSnapshotObjListPtr snapshots,
                                      char **const names, int maxnames);
 int virDomainSnapshotObjListNum(virDomainSnapshotObjListPtr snapshots);
-- 
1.6.6.1


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