It is now only used in domain_addr.c.
---
src/conf/domain_addr.c | 2 +-
src/conf/domain_addr.h | 6 ------
src/libvirt_private.syms | 1 -
3 files changed, 1 insertion(+), 8 deletions(-)
diff --git a/src/conf/domain_addr.c b/src/conf/domain_addr.c
index b02d52c..bb51579 100644
--- a/src/conf/domain_addr.c
+++ b/src/conf/domain_addr.c
@@ -533,7 +533,7 @@ virDomainPCIAddressSlotInUse(virDomainPCIAddressSetPtr addrs,
* automatically created by libvirt, so it is an internal error (not
* XML).
*/
-int
+static int ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2)
virDomainPCIAddressReserveAddr(virDomainPCIAddressSetPtr addrs,
virPCIDeviceAddressPtr addr,
virDomainPCIConnectFlags flags,
diff --git a/src/conf/domain_addr.h b/src/conf/domain_addr.h
index be13b1f..2412ed3 100644
--- a/src/conf/domain_addr.h
+++ b/src/conf/domain_addr.h
@@ -150,12 +150,6 @@ int virDomainPCIAddressSetGrow(virDomainPCIAddressSetPtr addrs,
virDomainPCIConnectFlags flags)
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2);
-int virDomainPCIAddressReserveAddr(virDomainPCIAddressSetPtr addrs,
- virPCIDeviceAddressPtr addr,
- virDomainPCIConnectFlags flags,
- bool fromConfig)
- ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2);
-
int virDomainPCIAddressReserveSlot(virDomainPCIAddressSetPtr addrs,
virPCIDeviceAddressPtr addr,
virDomainPCIConnectFlags flags)
diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
index fbc00f9..04823d2 100644
--- a/src/libvirt_private.syms
+++ b/src/libvirt_private.syms
@@ -101,7 +101,6 @@ virDomainPCIAddressEnsureAddr;
virDomainPCIAddressFlagsCompatible;
virDomainPCIAddressIsMulti;
virDomainPCIAddressReleaseSlot;
-virDomainPCIAddressReserveAddr;
virDomainPCIAddressReserveNextAddr;
virDomainPCIAddressReserveSlot;
virDomainPCIAddressSetAlloc;
--
2.7.4