mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 11:31:16 +00:00
conf: make virDomainPCIAddressGetNextSlot() a local static function
This function is no longer needed outside of domain_addr.c.
This commit is contained in:
parent
a0bb224cf5
commit
696929e67f
@ -593,7 +593,7 @@ virDomainPCIAddressSetFree(virDomainPCIAddressSetPtr addrs)
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
static int ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2)
|
||||
virDomainPCIAddressGetNextSlot(virDomainPCIAddressSetPtr addrs,
|
||||
virPCIDeviceAddressPtr next_addr,
|
||||
virDomainPCIConnectFlags flags)
|
||||
|
@ -155,11 +155,6 @@ int virDomainPCIAddressReleaseSlot(virDomainPCIAddressSetPtr addrs,
|
||||
virPCIDeviceAddressPtr addr)
|
||||
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,
|
||||
virDomainDeviceInfoPtr dev,
|
||||
virDomainPCIConnectFlags flags,
|
||||
|
@ -99,7 +99,6 @@ virDomainPCIAddressAsString;
|
||||
virDomainPCIAddressBusSetModel;
|
||||
virDomainPCIAddressEnsureAddr;
|
||||
virDomainPCIAddressFlagsCompatible;
|
||||
virDomainPCIAddressGetNextSlot;
|
||||
virDomainPCIAddressReleaseSlot;
|
||||
virDomainPCIAddressReserveAddr;
|
||||
virDomainPCIAddressReserveNextAddr;
|
||||
|
Loading…
Reference in New Issue
Block a user