Make virDomainSnapshotObjListDeinit static.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
This commit is contained in:
Chris Lalancette 2010-04-23 11:57:50 -04:00
parent 4aa36a68a6
commit e129a63775
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);