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,
|
virDomainPCIAddressGetNextSlot(virDomainPCIAddressSetPtr addrs,
|
||||||
virPCIDeviceAddressPtr next_addr,
|
virPCIDeviceAddressPtr next_addr,
|
||||||
virDomainPCIConnectFlags flags)
|
virDomainPCIConnectFlags flags)
|
||||||
|
@ -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,
|
||||||
|
@ -99,7 +99,6 @@ virDomainPCIAddressAsString;
|
|||||||
virDomainPCIAddressBusSetModel;
|
virDomainPCIAddressBusSetModel;
|
||||||
virDomainPCIAddressEnsureAddr;
|
virDomainPCIAddressEnsureAddr;
|
||||||
virDomainPCIAddressFlagsCompatible;
|
virDomainPCIAddressFlagsCompatible;
|
||||||
virDomainPCIAddressGetNextSlot;
|
|
||||||
virDomainPCIAddressReleaseSlot;
|
virDomainPCIAddressReleaseSlot;
|
||||||
virDomainPCIAddressReserveAddr;
|
virDomainPCIAddressReserveAddr;
|
||||||
virDomainPCIAddressReserveNextAddr;
|
virDomainPCIAddressReserveNextAddr;
|
||||||
|
Loading…
Reference in New Issue
Block a user