util: make virDomainLeaseDefFree global

It will be used in a different file in an upcoming patch.
This commit is contained in:
Laine Stump 2012-03-06 21:06:30 -05:00
parent 879bcee08c
commit 8845d29375
3 changed files with 3 additions and 1 deletions

View File

@ -887,7 +887,7 @@ void virDomainInputDefFree(virDomainInputDefPtr def)
VIR_FREE(def);
}
static void virDomainLeaseDefFree(virDomainLeaseDefPtr def)
void virDomainLeaseDefFree(virDomainLeaseDefPtr def)
{
if (!def)
return;

View File

@ -1771,6 +1771,7 @@ bool virDomainObjTaint(virDomainObjPtr obj,
void virDomainGraphicsDefFree(virDomainGraphicsDefPtr def);
void virDomainInputDefFree(virDomainInputDefPtr def);
void virDomainDiskDefFree(virDomainDiskDefPtr def);
void virDomainLeaseDefFree(virDomainLeaseDefPtr def);
void virDomainDiskHostDefFree(virDomainDiskHostDefPtr def);
int virDomainDiskFindControllerModel(virDomainDefPtr def,
virDomainDiskDefPtr disk,

View File

@ -366,6 +366,7 @@ virDomainHubTypeToString;
virDomainInputDefFree;
virDomainIoEventFdTypeFromString;
virDomainIoEventFdTypeToString;
virDomainLeaseDefFree;
virDomainLeaseIndex;
virDomainLeaseInsert;
virDomainLeaseInsertPreAlloc;