From a9c94277f07d19d3eb14f199c3e93491aa3eae0e Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Wed, 22 Jun 2016 19:11:19 +0200 Subject: Use #include "..." for our own headers, <...> for others Tracked down with an ugly, brittle and probably buggy Perl script. Also move includes converted to <...> up so they get included before ours where that's obviously okay. Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake Tested-by: Eric Blake Reviewed-by: Richard Henderson --- tests/postcopy-test.c | 3 +-- tests/tcg/xtensa/linker.ld.S | 2 +- tests/vhost-user-bridge.c | 2 -- tests/vhost-user-test.c | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) (limited to 'tests') diff --git a/tests/postcopy-test.c b/tests/postcopy-test.c index 35d5180..16465ab 100644 --- a/tests/postcopy-test.c +++ b/tests/postcopy-test.c @@ -15,11 +15,10 @@ #include "libqtest.h" #include "qemu/option.h" #include "qemu/range.h" +#include "qemu/sockets.h" #include "sysemu/char.h" #include "sysemu/sysemu.h" -#include - const unsigned start_address = 1024 * 1024; const unsigned end_address = 100 * 1024 * 1024; bool got_stop; diff --git a/tests/tcg/xtensa/linker.ld.S b/tests/tcg/xtensa/linker.ld.S index f1e7fa9..5902302 100644 --- a/tests/tcg/xtensa/linker.ld.S +++ b/tests/tcg/xtensa/linker.ld.S @@ -1,4 +1,4 @@ -#include +#include "core-isa.h" #if XTENSA_HAVE_BE OUTPUT_FORMAT("elf32-xtensa-be") diff --git a/tests/vhost-user-bridge.c b/tests/vhost-user-bridge.c index 45fa2b6..775e031 100644 --- a/tests/vhost-user-bridge.c +++ b/tests/vhost-user-bridge.c @@ -36,8 +36,6 @@ #include #include #include -#include - #include #include "qemu/atomic.h" diff --git a/tests/vhost-user-test.c b/tests/vhost-user-test.c index 421d432..46d0588 100644 --- a/tests/vhost-user-test.c +++ b/tests/vhost-user-test.c @@ -13,12 +13,12 @@ #include "libqtest.h" #include "qemu/option.h" #include "qemu/range.h" +#include "qemu/sockets.h" #include "sysemu/char.h" #include "sysemu/sysemu.h" #include #include -#include /* GLIB version compatibility flags */ #if !GLIB_CHECK_VERSION(2, 26, 0) -- cgit v1.1