]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
util: make virDomainLeaseDefFree global
authorLaine Stump <laine@laine.org>
Wed, 7 Mar 2012 02:06:30 +0000 (21:06 -0500)
committerLaine Stump <laine@laine.org>
Thu, 8 Mar 2012 21:58:16 +0000 (16:58 -0500)
It will be used in a different file in an upcoming patch.

src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms

index f421b72da58efe91dd6edf2901d9e527b79817ff..a5c7945d3fdd0a87d10af634f8fd0a4918ff4f12 100644 (file)
@@ -887,7 +887,7 @@ void virDomainInputDefFree(virDomainInputDefPtr def)
     VIR_FREE(def);
 }
 
-static void virDomainLeaseDefFree(virDomainLeaseDefPtr def)
+void virDomainLeaseDefFree(virDomainLeaseDefPtr def)
 {
     if (!def)
         return;
index 6a2c28e46afc948ae2013d8301b7882bc8c8f696..a2cf78979c6ed40bb08167e3a68fc3f67aa705d3 100644 (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,
index ff321ab1de60b6e5d41e2cf09686d5ee6b88b7db..2a0b4d5b16a01b05b39127c26681a19c2736e8c1 100644 (file)
@@ -366,6 +366,7 @@ virDomainHubTypeToString;
 virDomainInputDefFree;
 virDomainIoEventFdTypeFromString;
 virDomainIoEventFdTypeToString;
+virDomainLeaseDefFree;
 virDomainLeaseIndex;
 virDomainLeaseInsert;
 virDomainLeaseInsertPreAlloc;