mirror of https://gitee.com/openkylin/libvirt.git
domain_addr: make virDomainUSBAddressPortFormat 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
fddd2318bb
commit
8ac95faf45
|
@ -1653,7 +1653,7 @@ virDomainUSBAddressPortFormatBuf(virBufferPtr buf,
|
|||
}
|
||||
|
||||
|
||||
char *
|
||||
static char * ATTRIBUTE_NONNULL(1)
|
||||
virDomainUSBAddressPortFormat(unsigned int *port)
|
||||
{
|
||||
virBuffer buf = VIR_BUFFER_INITIALIZER;
|
||||
|
|
|
@ -234,9 +234,6 @@ void
|
|||
virDomainUSBAddressPortFormatBuf(virBufferPtr buf,
|
||||
unsigned int *port)
|
||||
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2);
|
||||
char *
|
||||
virDomainUSBAddressPortFormat(unsigned int *port)
|
||||
ATTRIBUTE_NONNULL(1);
|
||||
|
||||
# define VIR_DOMAIN_USB_HUB_PORTS 8
|
||||
|
||||
|
|
|
@ -123,7 +123,6 @@ virDomainPCIControllerModelToConnectType;
|
|||
virDomainUSBAddressAssign;
|
||||
virDomainUSBAddressCountAllPorts;
|
||||
virDomainUSBAddressEnsure;
|
||||
virDomainUSBAddressPortFormat;
|
||||
virDomainUSBAddressPortFormatBuf;
|
||||
virDomainUSBAddressPortIsValid;
|
||||
virDomainUSBAddressPresent;
|
||||
|
|
Loading…
Reference in New Issue