Browse Source

Don't include headers already included by qemu/osdep.h

This commit was created with scripts/clean-includes.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20230202133830.2152150-19-armbru@redhat.com>
pull/232/head
Markus Armbruster 3 years ago
parent
commit
bfe7bf8590
  1. 1
      accel/tcg/cpu-exec.c
  2. 2
      backends/tpm/tpm_ioctl.h
  3. 2
      fsdev/p9array.h
  4. 2
      hw/9pfs/9p.c
  5. 1
      hw/display/virtio-gpu-udmabuf.c
  6. 1
      hw/i2c/pmbus_device.c
  7. 1
      hw/remote/proxy-memory-listener.c
  8. 1
      hw/sensor/adm1272.c
  9. 1
      hw/usb/dev-storage-bot.c
  10. 1
      hw/usb/dev-storage-classic.c
  11. 2
      include/hw/misc/aspeed_lpc.h
  12. 1
      include/hw/pci/pcie_doe.h
  13. 2
      include/qemu/async-teardown.h
  14. 1
      include/qemu/dbus.h
  15. 1
      include/qemu/host-utils.h
  16. 1
      include/sysemu/event-loop-base.h
  17. 2
      softmmu/vl.c
  18. 1
      tcg/tci.c
  19. 1
      tests/unit/test-seccomp.c
  20. 1
      ui/udmabuf.c
  21. 1
      util/main-loop.c
  22. 2
      util/oslib-posix.c

1
accel/tcg/cpu-exec.c

@ -28,7 +28,6 @@
#include "exec/exec-all.h"
#include "tcg/tcg.h"
#include "qemu/atomic.h"
#include "qemu/compiler.h"
#include "qemu/timer.h"
#include "qemu/rcu.h"
#include "exec/log.h"

2
backends/tpm/tpm_ioctl.h

@ -12,8 +12,6 @@
# define __USE_LINUX_IOCTL_DEFS
#endif
#include <stdint.h>
#include <sys/types.h>
#ifndef _WIN32
#include <sys/uio.h>
#include <sys/ioctl.h>

2
fsdev/p9array.h

@ -27,8 +27,6 @@
#ifndef QEMU_P9ARRAY_H
#define QEMU_P9ARRAY_H
#include "qemu/compiler.h"
/**
* P9Array provides a mechanism to access arrays in common C-style (e.g. by
* square bracket [] operator) in conjunction with reference variables that

2
hw/9pfs/9p.c

@ -19,8 +19,6 @@
#include "qemu/osdep.h"
#ifdef CONFIG_LINUX
#include <linux/limits.h>
#else
#include <limits.h>
#endif
#include <glib/gprintf.h>
#include "hw/virtio/virtio.h"

1
hw/display/virtio-gpu-udmabuf.c

@ -21,7 +21,6 @@
#include "exec/ramblock.h"
#include "sysemu/hostmem.h"
#include <sys/ioctl.h>
#include <fcntl.h>
#include <linux/memfd.h>
#include "qemu/memfd.h"
#include "standard-headers/linux/udmabuf.h"

1
hw/i2c/pmbus_device.c

@ -8,7 +8,6 @@
#include "qemu/osdep.h"
#include <math.h>
#include <string.h>
#include "hw/i2c/pmbus_device.h"
#include "migration/vmstate.h"
#include "qemu/module.h"

1
hw/remote/proxy-memory-listener.c

@ -8,7 +8,6 @@
#include "qemu/osdep.h"
#include "qemu/compiler.h"
#include "qemu/int128.h"
#include "qemu/range.h"
#include "exec/memory.h"

1
hw/sensor/adm1272.c

@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
#include <string.h>
#include "hw/i2c/pmbus_device.h"
#include "hw/irq.h"
#include "migration/vmstate.h"

1
hw/usb/dev-storage-bot.c

@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
#include "qemu/typedefs.h"
#include "qapi/error.h"
#include "hw/usb.h"
#include "hw/usb/desc.h"

1
hw/usb/dev-storage-classic.c

@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
#include "qemu/typedefs.h"
#include "qapi/error.h"
#include "qapi/visitor.h"
#include "hw/usb.h"

2
include/hw/misc/aspeed_lpc.h

@ -12,8 +12,6 @@
#include "hw/sysbus.h"
#include <stdint.h>
#define TYPE_ASPEED_LPC "aspeed.lpc"
#define ASPEED_LPC(obj) OBJECT_CHECK(AspeedLPCState, (obj), TYPE_ASPEED_LPC)

1
include/hw/pci/pcie_doe.h

@ -11,7 +11,6 @@
#define PCIE_DOE_H
#include "qemu/range.h"
#include "qemu/typedefs.h"
#include "hw/register.h"
/*

2
include/qemu/async-teardown.h

@ -13,8 +13,6 @@
#ifndef QEMU_ASYNC_TEARDOWN_H
#define QEMU_ASYNC_TEARDOWN_H
#include "config-host.h"
#ifdef CONFIG_LINUX
void init_async_teardown(void);
#endif

1
include/qemu/dbus.h

@ -15,7 +15,6 @@
#include "qom/object.h"
#include "chardev/char.h"
#include "qemu/notify.h"
#include "qemu/typedefs.h"
/* glib/gio 2.68 */
#define DBUS_METHOD_INVOCATION_HANDLED TRUE

1
include/qemu/host-utils.h

@ -30,7 +30,6 @@
#ifndef HOST_UTILS_H
#define HOST_UTILS_H
#include "qemu/compiler.h"
#include "qemu/bswap.h"
#include "qemu/int128.h"

1
include/sysemu/event-loop-base.h

@ -14,7 +14,6 @@
#include "qom/object.h"
#include "block/aio.h"
#include "qemu/typedefs.h"
#define TYPE_EVENT_LOOP_BASE "event-loop-base"
OBJECT_DECLARE_TYPE(EventLoopBase, EventLoopBaseClass,

2
softmmu/vl.c

@ -136,8 +136,6 @@
#include "qemu/guest-random.h"
#include "qemu/keyval.h"
#include "config-host.h"
#define MAX_VIRTIO_CONSOLES 1
typedef struct BlockdevOptionsQueueEntry {

1
tcg/tci.c

@ -21,7 +21,6 @@
#include "exec/cpu_ldst.h"
#include "tcg/tcg-op.h"
#include "tcg/tcg-ldst.h"
#include "qemu/compiler.h"
#include <ffi.h>

1
tests/unit/test-seccomp.c

@ -25,7 +25,6 @@
#include "qapi/error.h"
#include "qemu/module.h"
#include <unistd.h>
#include <sys/syscall.h>
static void test_seccomp_helper(const char *args, bool killed,

1
ui/udmabuf.c

@ -8,7 +8,6 @@
#include "qapi/error.h"
#include "ui/console.h"
#include <fcntl.h>
#include <sys/ioctl.h>
int udmabuf_fd(void)

1
util/main-loop.c

@ -33,7 +33,6 @@
#include "block/thread-pool.h"
#include "qemu/error-report.h"
#include "qemu/queue.h"
#include "qemu/compiler.h"
#include "qom/object.h"
#ifndef _WIN32

2
util/oslib-posix.c

@ -40,7 +40,6 @@
#include "qemu/thread.h"
#include <libgen.h>
#include "qemu/cutils.h"
#include "qemu/compiler.h"
#include "qemu/units.h"
#include "qemu/thread-context.h"
@ -50,7 +49,6 @@
#ifdef __FreeBSD__
#include <sys/thr.h>
#include <sys/types.h>
#include <sys/user.h>
#include <libutil.h>
#endif

Loading…
Cancel
Save