From: Ján Tomko Date: Wed, 13 Apr 2016 06:12:47 +0000 (+0200) Subject: tests: clean up includes X-Git-Tag: v1.3.4-rc1~253 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f36c9f7b6ceecb1b3cacb3aad5d69503170d6096;p=thirdparty%2Flibvirt.git tests: clean up includes After removing qemuBuildCommandLineCallbacks, testutilsqemu.h does not need to include qemu_command.h. Include just qemu_conf.h here and qemu_domain_address.h in files that need it. --- diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index dddc775bc1..f4093f1ff0 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -13,7 +13,7 @@ #ifdef WITH_QEMU # include "internal.h" -# include "qemu/qemu_conf.h" +# include "qemu/qemu_domain_address.h" # include "qemu/qemu_domain.h" # include "testutilsqemu.h" # include "virstring.h" diff --git a/tests/testutilsqemu.h b/tests/testutilsqemu.h index 196dc232c5..f5a8056bbb 100644 --- a/tests/testutilsqemu.h +++ b/tests/testutilsqemu.h @@ -2,8 +2,8 @@ # include "capabilities.h" # include "domain_conf.h" -# include "qemu/qemu_command.h" # include "qemu/qemu_capabilities.h" +# include "qemu/qemu_conf.h" virCapsPtr testQemuCapsInit(void); virDomainXMLOptionPtr testQemuXMLConfInit(void);