mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 23:25:24 +00:00
Make virDomainSnapshotObjListDeinit static.
Signed-off-by: Chris Lalancette <clalance@redhat.com>
This commit is contained in:
parent
4aa36a68a6
commit
e129a63775
@ -733,6 +733,7 @@ void virDomainDefFree(virDomainDefPtr def)
|
||||
|
||||
#ifndef PROXY
|
||||
|
||||
static void virDomainSnapshotObjListDeinit(virDomainSnapshotObjListPtr snapshots);
|
||||
static void virDomainObjFree(virDomainObjPtr dom)
|
||||
{
|
||||
if (!dom)
|
||||
@ -6803,7 +6804,7 @@ static void virDomainSnapshotObjListDeallocator(void *payload,
|
||||
virDomainSnapshotObjUnref(obj);
|
||||
}
|
||||
|
||||
void virDomainSnapshotObjListDeinit(virDomainSnapshotObjListPtr snapshots)
|
||||
static void virDomainSnapshotObjListDeinit(virDomainSnapshotObjListPtr snapshots)
|
||||
{
|
||||
if (snapshots->objs)
|
||||
virHashFree(snapshots->objs, virDomainSnapshotObjListDeallocator);
|
||||
|
@ -782,7 +782,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);
|
||||
|
Loading…
Reference in New Issue
Block a user