conf: make virDomainPCIAddressGetNextSlot() a local static function

This function is no longer needed outside of domain_addr.c.
This commit is contained in:
Laine Stump 2016-09-01 11:38:02 -04:00
parent a0bb224cf5
commit 696929e67f
3 changed files with 1 additions and 7 deletions

View File

@ -593,7 +593,7 @@ virDomainPCIAddressSetFree(virDomainPCIAddressSetPtr addrs)
} }
int static int ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2)
virDomainPCIAddressGetNextSlot(virDomainPCIAddressSetPtr addrs, virDomainPCIAddressGetNextSlot(virDomainPCIAddressSetPtr addrs,
virPCIDeviceAddressPtr next_addr, virPCIDeviceAddressPtr next_addr,
virDomainPCIConnectFlags flags) virDomainPCIConnectFlags flags)

View File

@ -155,11 +155,6 @@ int virDomainPCIAddressReleaseSlot(virDomainPCIAddressSetPtr addrs,
virPCIDeviceAddressPtr addr) virPCIDeviceAddressPtr addr)
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2); ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2);
int virDomainPCIAddressGetNextSlot(virDomainPCIAddressSetPtr addrs,
virPCIDeviceAddressPtr next_addr,
virDomainPCIConnectFlags flags)
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2);
int virDomainPCIAddressReserveNextAddr(virDomainPCIAddressSetPtr addrs, int virDomainPCIAddressReserveNextAddr(virDomainPCIAddressSetPtr addrs,
virDomainDeviceInfoPtr dev, virDomainDeviceInfoPtr dev,
virDomainPCIConnectFlags flags, virDomainPCIConnectFlags flags,

View File

@ -99,7 +99,6 @@ virDomainPCIAddressAsString;
virDomainPCIAddressBusSetModel; virDomainPCIAddressBusSetModel;
virDomainPCIAddressEnsureAddr; virDomainPCIAddressEnsureAddr;
virDomainPCIAddressFlagsCompatible; virDomainPCIAddressFlagsCompatible;
virDomainPCIAddressGetNextSlot;
virDomainPCIAddressReleaseSlot; virDomainPCIAddressReleaseSlot;
virDomainPCIAddressReserveAddr; virDomainPCIAddressReserveAddr;
virDomainPCIAddressReserveNextAddr; virDomainPCIAddressReserveNextAddr;