It's no longer needed in tests as we are no longer adding fake machines.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_capabilities.c | 2 +-
src/qemu/qemu_capspriv.h | 14 --------------
2 files changed, 1 insertion(+), 15 deletions(-)
diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index bd6a32b815..7b5f59e0f1 100644
--- a/src/qemu/qemu_capabilities.c
+++ b/src/qemu/qemu_capabilities.c
@@ -2738,7 +2738,7 @@ static const char *preferredMachines[] =
G_STATIC_ASSERT(G_N_ELEMENTS(preferredMachines) == VIR_ARCH_LAST);
-void
+static void
virQEMUCapsAddMachine(virQEMUCaps *qemuCaps,
virDomainVirtType virtType,
const char *name,
diff --git a/src/qemu/qemu_capspriv.h b/src/qemu/qemu_capspriv.h
index be83b13ab5..06b36d2eb8 100644
--- a/src/qemu/qemu_capspriv.h
+++ b/src/qemu/qemu_capspriv.h
@@ -103,19 +103,5 @@ virQEMUCapsStripMachineAliases(virQEMUCaps *qemuCaps);
bool
virQEMUCapsHasMachines(virQEMUCaps *qemuCaps);
-void
-virQEMUCapsAddMachine(virQEMUCaps *qemuCaps,
- virDomainVirtType virtType,
- const char *name,
- const char *alias,
- const char *defaultCPU,
- int maxCpus,
- bool hotplugCpus,
- bool isDefault,
- bool numaMemSupported,
- const char *defaultRAMid,
- bool deprecated,
- virTristateBool acpi);
-
bool
virQEMUCapsHaveAccel(virQEMUCaps *qemuCaps);
--
2.41.0