For reusing in qemu_domain_address.c.
---
src/conf/domain_addr.c | 2 --
src/conf/domain_addr.h | 2 ++
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/conf/domain_addr.c b/src/conf/domain_addr.c
index 555da59..e0adea9 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 632f0c0..f884b8a 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 {
--
2.10.2