Commit 90ce6e26 authored by Peter Maydell's avatar Peter Maydell
Browse files

include: 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.

NB: If this commit breaks compilation for your out-of-tree
patchseries or fork, then you need to make sure you add
#include "qemu/osdep.h" to any new .c files that you have.

Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
parent 974dc73d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -25,8 +25,6 @@
#ifndef BLOCK_ACCOUNTING_H
#define BLOCK_ACCOUNTING_H

#include <stdint.h>
#include <stdbool.h>

#include "qemu/typedefs.h"
#include "qemu/timed-average.h"
+0 −1
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@
#ifndef NBD_H
#define NBD_H

#include <sys/types.h>

#include "qemu-common.h"
#include "qemu/option.h"
+0 −1
Original line number Diff line number Diff line
@@ -26,7 +26,6 @@
#define SNAPSHOT_H

#include "qemu-common.h"
#include "qapi/error.h"
#include "qemu/option.h"


+0 −1
Original line number Diff line number Diff line
@@ -12,7 +12,6 @@
#ifndef BLOCK_WRITE_THRESHOLD_H
#define BLOCK_WRITE_THRESHOLD_H

#include <stdint.h>

#include "qemu/typedefs.h"
#include "qemu-common.h"
+0 −1
Original line number Diff line number Diff line
#include "config-host.h"
#include "config-target.h"
Loading