diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-02-23 11:58:03 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-02-23 12:43:05 +0000 |
commit | 90ce6e2644db2c47d72f364b4de57342e50bd10a (patch) | |
tree | 0107d6e91d0e48618720b4c5d4fd00740ae6fcbd /include/block | |
parent | 974dc73d778a3b1c09a06a6a41af159537eba595 (diff) | |
download | qemu-90ce6e2644db2c47d72f364b4de57342e50bd10a.zip qemu-90ce6e2644db2c47d72f364b4de57342e50bd10a.tar.gz qemu-90ce6e2644db2c47d72f364b4de57342e50bd10a.tar.bz2 |
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: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r-- | include/block/accounting.h | 2 | ||||
-rw-r--r-- | include/block/nbd.h | 1 | ||||
-rw-r--r-- | include/block/snapshot.h | 1 | ||||
-rw-r--r-- | include/block/write-threshold.h | 1 |
4 files changed, 0 insertions, 5 deletions
diff --git a/include/block/accounting.h b/include/block/accounting.h index 0f46cb4..2db2a00 100644 --- a/include/block/accounting.h +++ b/include/block/accounting.h @@ -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" diff --git a/include/block/nbd.h b/include/block/nbd.h index b197adc..b86a976 100644 --- a/include/block/nbd.h +++ b/include/block/nbd.h @@ -19,7 +19,6 @@ #ifndef NBD_H #define NBD_H -#include <sys/types.h> #include "qemu-common.h" #include "qemu/option.h" diff --git a/include/block/snapshot.h b/include/block/snapshot.h index c6910da6..e5c0553 100644 --- a/include/block/snapshot.h +++ b/include/block/snapshot.h @@ -26,7 +26,6 @@ #define SNAPSHOT_H #include "qemu-common.h" -#include "qapi/error.h" #include "qemu/option.h" diff --git a/include/block/write-threshold.h b/include/block/write-threshold.h index f1b899c..8a79505 100644 --- a/include/block/write-threshold.h +++ b/include/block/write-threshold.h @@ -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" |