Signed-off-by: Chris Lalancette <clalance@xxxxxxxxxx> --- 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 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list