diff --git a/src/conf/domain_addr.c b/src/conf/domain_addr.c index 555da5973ef59dc048c9244b6d61b779ab8517ee..e0adea9f9288ac31fbd5e19e15f05a2c58ee1574 100644 --- a/src/conf/domain_addr.c +++ b/src/conf/domain_addr.c @@ -1825,8 +1825,6 @@ virDomainUSBAddressFindPort(virDomainUSBAddressSetPtr addrs, } -#define VIR_DOMAIN_USB_HUB_PORTS 8 - int virDomainUSBAddressSetAddHub(virDomainUSBAddressSetPtr addrs, virDomainHubDefPtr hub) diff --git a/src/conf/domain_addr.h b/src/conf/domain_addr.h index 632f0c0511c261105d9ba341d4278b2c093b832e..f884b8af2bb6909855bac7c167d5337d3f6d8279 100644 --- a/src/conf/domain_addr.h +++ b/src/conf/domain_addr.h @@ -274,6 +274,8 @@ char * virDomainUSBAddressPortFormat(unsigned int *port) ATTRIBUTE_NONNULL(1); +# define VIR_DOMAIN_USB_HUB_PORTS 8 + typedef struct _virDomainUSBAddressHub virDomainUSBAddressHub; typedef virDomainUSBAddressHub *virDomainUSBAddressHubPtr; struct _virDomainUSBAddressHub {