aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-02-23 12:00:47 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-02-23 12:43:05 +0000
commit974dc73d778a3b1c09a06a6a41af159537eba595 (patch)
tree504dc1d58c1840325700fa0ffcb5d4c9fbf926a9 /tests
parent30456d5ba3736b8f0c73560e559cdd2f76a4885e (diff)
all: Clean up includes
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. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> --- This just catches a couple of stragglers since I posted the last clean-includes patchset last week.
Diffstat (limited to 'tests')
-rw-r--r--tests/boot-sector.c3
-rw-r--r--tests/pxe-test.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/boot-sector.c b/tests/boot-sector.c
index 0b48bb34bf..3ffe2987ff 100644
--- a/tests/boot-sector.c
+++ b/tests/boot-sector.c
@@ -10,9 +10,8 @@
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
+#include "qemu/osdep.h"
#include "boot-sector.h"
-#include <string.h>
-#include <stdio.h>
#include "qemu-common.h"
#include "libqtest.h"
diff --git a/tests/pxe-test.c b/tests/pxe-test.c
index fa430958ea..875e4c4a26 100644
--- a/tests/pxe-test.c
+++ b/tests/pxe-test.c
@@ -11,8 +11,7 @@
* See the COPYING file in the top-level directory.
*/
-#include <string.h>
-#include <stdio.h>
+#include "qemu/osdep.h"
#include <glib.h>
#include <glib/gstdio.h>
#include "qemu-common.h"