diff --git a/src/conf/domain_addr.c b/src/conf/domain_addr.c index eb0784cd2c..ec2dfdbbdc 100644 --- a/src/conf/domain_addr.c +++ b/src/conf/domain_addr.c @@ -386,7 +386,7 @@ virDomainPCIAddressBusIsFullyReserved(virDomainPCIAddressBusPtr bus) } -bool +static bool ATTRIBUTE_NONNULL(1) virDomainPCIAddressBusIsEmpty(virDomainPCIAddressBusPtr bus) { size_t i; diff --git a/src/conf/domain_addr.h b/src/conf/domain_addr.h index 776399eb63..fc87c14eba 100644 --- a/src/conf/domain_addr.h +++ b/src/conf/domain_addr.h @@ -146,9 +146,6 @@ int virDomainPCIAddressBusSetModel(virDomainPCIAddressBusPtr bus, bool virDomainPCIAddressBusIsFullyReserved(virDomainPCIAddressBusPtr bus) ATTRIBUTE_NONNULL(1); -bool virDomainPCIAddressBusIsEmpty(virDomainPCIAddressBusPtr bus) - ATTRIBUTE_NONNULL(1); - bool virDomainPCIAddressSlotInUse(virDomainPCIAddressSetPtr addrs, virPCIDeviceAddressPtr addr) ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2);