diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-01-26 18:17:07 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-01-29 15:07:23 +0000 |
commit | 9b8bfe21bee37ced21aa57c89388c2ebea8c3f31 (patch) | |
tree | 72d54fd3bf8032a69fb9add22f9ecc55672cdd2f /hw/virtio | |
parent | 21cbfe5f37aaa3a13d3af28454e762c05be67429 (diff) | |
download | qemu-9b8bfe21bee37ced21aa57c89388c2ebea8c3f31.zip qemu-9b8bfe21bee37ced21aa57c89388c2ebea8c3f31.tar.gz qemu-9b8bfe21bee37ced21aa57c89388c2ebea8c3f31.tar.bz2 |
virtio: 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-15-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/virtio')
-rw-r--r-- | hw/virtio/dataplane/vring.c | 1 | ||||
-rw-r--r-- | hw/virtio/vhost-backend.c | 1 | ||||
-rw-r--r-- | hw/virtio/vhost-user.c | 3 | ||||
-rw-r--r-- | hw/virtio/vhost.c | 1 | ||||
-rw-r--r-- | hw/virtio/virtio-balloon.c | 1 | ||||
-rw-r--r-- | hw/virtio/virtio-bus.c | 1 | ||||
-rw-r--r-- | hw/virtio/virtio-mmio.c | 1 | ||||
-rw-r--r-- | hw/virtio/virtio-pci.c | 2 | ||||
-rw-r--r-- | hw/virtio/virtio-rng.c | 1 | ||||
-rw-r--r-- | hw/virtio/virtio.c | 2 |
10 files changed, 10 insertions, 4 deletions
diff --git a/hw/virtio/dataplane/vring.c b/hw/virtio/dataplane/vring.c index 23f667e..1a78df1 100644 --- a/hw/virtio/dataplane/vring.c +++ b/hw/virtio/dataplane/vring.c @@ -14,6 +14,7 @@ * This work is licensed under the terms of the GNU GPL, version 2. */ +#include "qemu/osdep.h" #include "trace.h" #include "hw/hw.h" #include "exec/memory.h" diff --git a/hw/virtio/vhost-backend.c b/hw/virtio/vhost-backend.c index b734a60..b358902 100644 --- a/hw/virtio/vhost-backend.c +++ b/hw/virtio/vhost-backend.c @@ -8,6 +8,7 @@ * */ +#include "qemu/osdep.h" #include "hw/virtio/vhost.h" #include "hw/virtio/vhost-backend.h" #include "qemu/error-report.h" diff --git a/hw/virtio/vhost-user.c b/hw/virtio/vhost-user.c index 1b6c5ac..7fde137 100644 --- a/hw/virtio/vhost-user.c +++ b/hw/virtio/vhost-user.c @@ -8,6 +8,7 @@ * */ +#include "qemu/osdep.h" #include "hw/virtio/vhost.h" #include "hw/virtio/vhost-backend.h" #include "hw/virtio/virtio-net.h" @@ -18,8 +19,6 @@ #include "exec/ram_addr.h" #include "migration/migration.h" -#include <fcntl.h> -#include <unistd.h> #include <sys/ioctl.h> #include <sys/socket.h> #include <sys/un.h> diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c index de29968..7dff755 100644 --- a/hw/virtio/vhost.c +++ b/hw/virtio/vhost.c @@ -13,6 +13,7 @@ * GNU GPL, version 2 or (at your option) any later version. */ +#include "qemu/osdep.h" #include "hw/virtio/vhost.h" #include "hw/hw.h" #include "qemu/atomic.h" diff --git a/hw/virtio/virtio-balloon.c b/hw/virtio/virtio-balloon.c index 9671635..f5f25a9 100644 --- a/hw/virtio/virtio-balloon.c +++ b/hw/virtio/virtio-balloon.c @@ -13,6 +13,7 @@ * */ +#include "qemu/osdep.h" #include "qemu/iov.h" #include "qemu/timer.h" #include "qemu-common.h" diff --git a/hw/virtio/virtio-bus.c b/hw/virtio/virtio-bus.c index 81c7cdd..574f0e2 100644 --- a/hw/virtio/virtio-bus.c +++ b/hw/virtio/virtio-bus.c @@ -22,6 +22,7 @@ * */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "qemu/error-report.h" #include "hw/qdev.h" diff --git a/hw/virtio/virtio-mmio.c b/hw/virtio/virtio-mmio.c index 18660b0..d4cd91f 100644 --- a/hw/virtio/virtio-mmio.c +++ b/hw/virtio/virtio-mmio.c @@ -19,6 +19,7 @@ * with this program; if not, see <http://www.gnu.org/licenses/>. */ +#include "qemu/osdep.h" #include "hw/sysbus.h" #include "hw/virtio/virtio.h" #include "qemu/host-utils.h" diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c index 94667e6..5494ff4 100644 --- a/hw/virtio/virtio-pci.c +++ b/hw/virtio/virtio-pci.c @@ -15,7 +15,7 @@ * GNU GPL, version 2 or (at your option) any later version. */ -#include <inttypes.h> +#include "qemu/osdep.h" #include "standard-headers/linux/virtio_pci.h" #include "hw/virtio/virtio.h" diff --git a/hw/virtio/virtio-rng.c b/hw/virtio/virtio-rng.c index 97d1541..a80fb89 100644 --- a/hw/virtio/virtio-rng.c +++ b/hw/virtio/virtio-rng.c @@ -9,6 +9,7 @@ * top-level directory. */ +#include "qemu/osdep.h" #include "qemu/iov.h" #include "hw/qdev.h" #include "hw/virtio/virtio.h" diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c index bd6b4df..63a7b6d 100644 --- a/hw/virtio/virtio.c +++ b/hw/virtio/virtio.c @@ -11,7 +11,7 @@ * */ -#include <inttypes.h> +#include "qemu/osdep.h" #include "trace.h" #include "exec/address-spaces.h" |