mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 15:45:28 +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
|
#ifndef PROXY
|
||||||
|
|
||||||
|
static void virDomainSnapshotObjListDeinit(virDomainSnapshotObjListPtr snapshots);
|
||||||
static void virDomainObjFree(virDomainObjPtr dom)
|
static void virDomainObjFree(virDomainObjPtr dom)
|
||||||
{
|
{
|
||||||
if (!dom)
|
if (!dom)
|
||||||
@ -6803,7 +6804,7 @@ static void virDomainSnapshotObjListDeallocator(void *payload,
|
|||||||
virDomainSnapshotObjUnref(obj);
|
virDomainSnapshotObjUnref(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
void virDomainSnapshotObjListDeinit(virDomainSnapshotObjListPtr snapshots)
|
static void virDomainSnapshotObjListDeinit(virDomainSnapshotObjListPtr snapshots)
|
||||||
{
|
{
|
||||||
if (snapshots->objs)
|
if (snapshots->objs)
|
||||||
virHashFree(snapshots->objs, virDomainSnapshotObjListDeallocator);
|
virHashFree(snapshots->objs, virDomainSnapshotObjListDeallocator);
|
||||||
|
@ -782,7 +782,6 @@ virDomainSnapshotObjPtr virDomainSnapshotAssignDef(virDomainSnapshotObjListPtr s
|
|||||||
const virDomainSnapshotDefPtr def);
|
const virDomainSnapshotDefPtr def);
|
||||||
|
|
||||||
int virDomainSnapshotObjListInit(virDomainSnapshotObjListPtr objs);
|
int virDomainSnapshotObjListInit(virDomainSnapshotObjListPtr objs);
|
||||||
void virDomainSnapshotObjListDeinit(virDomainSnapshotObjListPtr objs);
|
|
||||||
int virDomainSnapshotObjListGetNames(virDomainSnapshotObjListPtr snapshots,
|
int virDomainSnapshotObjListGetNames(virDomainSnapshotObjListPtr snapshots,
|
||||||
char **const names, int maxnames);
|
char **const names, int maxnames);
|
||||||
int virDomainSnapshotObjListNum(virDomainSnapshotObjListPtr snapshots);
|
int virDomainSnapshotObjListNum(virDomainSnapshotObjListPtr snapshots);
|
||||||
|
Loading…
Reference in New Issue
Block a user