mirror of https://gitee.com/openkylin/libvirt.git
util: make virDomainLeaseDefFree global
It will be used in a different file in an upcoming patch.
This commit is contained in:
parent
879bcee08c
commit
8845d29375
|
@ -887,7 +887,7 @@ void virDomainInputDefFree(virDomainInputDefPtr def)
|
|||
VIR_FREE(def);
|
||||
}
|
||||
|
||||
static void virDomainLeaseDefFree(virDomainLeaseDefPtr def)
|
||||
void virDomainLeaseDefFree(virDomainLeaseDefPtr def)
|
||||
{
|
||||
if (!def)
|
||||
return;
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -366,6 +366,7 @@ virDomainHubTypeToString;
|
|||
virDomainInputDefFree;
|
||||
virDomainIoEventFdTypeFromString;
|
||||
virDomainIoEventFdTypeToString;
|
||||
virDomainLeaseDefFree;
|
||||
virDomainLeaseIndex;
|
||||
virDomainLeaseInsert;
|
||||
virDomainLeaseInsertPreAlloc;
|
||||
|
|
Loading…
Reference in New Issue