mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 14:45:24 +00:00
domain_addr: make virDomainPCIAddressBusIsEmpty static
never used outside domain_addr.c Signed-off-by: Anya Harter <aharter@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
d999b6016b
commit
3cb6821c22
@ -386,7 +386,7 @@ virDomainPCIAddressBusIsFullyReserved(virDomainPCIAddressBusPtr bus)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool
|
static bool ATTRIBUTE_NONNULL(1)
|
||||||
virDomainPCIAddressBusIsEmpty(virDomainPCIAddressBusPtr bus)
|
virDomainPCIAddressBusIsEmpty(virDomainPCIAddressBusPtr bus)
|
||||||
{
|
{
|
||||||
size_t i;
|
size_t i;
|
||||||
|
@ -146,9 +146,6 @@ int virDomainPCIAddressBusSetModel(virDomainPCIAddressBusPtr bus,
|
|||||||
bool virDomainPCIAddressBusIsFullyReserved(virDomainPCIAddressBusPtr bus)
|
bool virDomainPCIAddressBusIsFullyReserved(virDomainPCIAddressBusPtr bus)
|
||||||
ATTRIBUTE_NONNULL(1);
|
ATTRIBUTE_NONNULL(1);
|
||||||
|
|
||||||
bool virDomainPCIAddressBusIsEmpty(virDomainPCIAddressBusPtr bus)
|
|
||||||
ATTRIBUTE_NONNULL(1);
|
|
||||||
|
|
||||||
bool virDomainPCIAddressSlotInUse(virDomainPCIAddressSetPtr addrs,
|
bool virDomainPCIAddressSlotInUse(virDomainPCIAddressSetPtr addrs,
|
||||||
virPCIDeviceAddressPtr addr)
|
virPCIDeviceAddressPtr addr)
|
||||||
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2);
|
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2);
|
||||||
|
Loading…
Reference in New Issue
Block a user