From 8f0a3716e40cf479ebdc1cf5a34b8d500c05adff Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Thu, 1 Feb 2018 12:18:29 +0100 Subject: Clean up includes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes, with the change to target/s390x/gen-features.c manually reverted, and blank lines around deletions collapsed. Reviewed-by: Eric Blake Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Markus Armbruster Message-Id: <20180201111846.21846-3-armbru@redhat.com> --- tests/migration/stress.c | 10 +--------- tests/ptimer-test.c | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'tests') diff --git a/tests/migration/stress.c b/tests/migration/stress.c index cf8ce8b..49a03aa 100644 --- a/tests/migration/stress.c +++ b/tests/migration/stress.c @@ -17,21 +17,13 @@ * License along with this library; if not, see . */ -#include +#include "qemu/osdep.h" #include -#include -#include -#include -#include #include #include #include -#include #include -#include #include -#include -#include const char *argv0; diff --git a/tests/ptimer-test.c b/tests/ptimer-test.c index 5d1a2a8..4148889 100644 --- a/tests/ptimer-test.c +++ b/tests/ptimer-test.c @@ -8,9 +8,9 @@ * */ +#include "qemu/osdep.h" #include -#include "qemu/osdep.h" #include "qemu/main-loop.h" #include "hw/ptimer.h" -- cgit v1.1