summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-26 18:17:09 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-01-29 15:07:23 +0000
commit532392622c1d493e3bec543b10f74f361ea40662 (patch)
tree80b23880691b8e92edb7a5548467428b528ae35c /tests
parent757e725b58c57d3ebb66a31fd2210df977a12154 (diff)
downloadqemu-532392622c1d493e3bec543b10f74f361ea40662.tar.gz
qemu-532392622c1d493e3bec543b10f74f361ea40662.tar.bz2
qemu-532392622c1d493e3bec543b10f74f361ea40662.zip
ide: 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> Message-id: 1453832250-766-17-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'tests')
-rw-r--r--tests/ahci-test.c4
-rw-r--r--tests/ide-test.c4
-rw-r--r--tests/libqos/ahci.c1
3 files changed, 3 insertions, 6 deletions
diff --git a/tests/ahci-test.c b/tests/ahci-test.c
index 31fb1f9476..6869f7f46d 100644
--- a/tests/ahci-test.c
+++ b/tests/ahci-test.c
@@ -22,9 +22,7 @@
* THE SOFTWARE.
*/
-#include <stdint.h>
-#include <string.h>
-#include <stdio.h>
+#include "qemu/osdep.h"
#include <getopt.h>
#include <glib.h>
diff --git a/tests/ide-test.c b/tests/ide-test.c
index b864701356..0d9ab4df95 100644
--- a/tests/ide-test.c
+++ b/tests/ide-test.c
@@ -22,9 +22,7 @@
* THE SOFTWARE.
*/
-#include <stdint.h>
-#include <string.h>
-#include <stdio.h>
+#include "qemu/osdep.h"
#include <glib.h>
diff --git a/tests/libqos/ahci.c b/tests/libqos/ahci.c
index 6b8c556446..ac6c155c83 100644
--- a/tests/libqos/ahci.c
+++ b/tests/libqos/ahci.c
@@ -22,6 +22,7 @@
* THE SOFTWARE.
*/
+#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"