提交 e129a637 编写于 作者: C Chris Lalancette

Make virDomainSnapshotObjListDeinit static.

Signed-off-by: NChris Lalancette <clalance@redhat.com>
上级 4aa36a68
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册