Skip to content

Commit

Permalink
Drop superfluous includes of qapi-types.h and test-qapi-types.h
Browse files Browse the repository at this point in the history
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Message-Id: <[email protected]>
  • Loading branch information
Markus Armbruster committed Feb 9, 2018
1 parent 8f0a371 commit 522ece3
Show file tree
Hide file tree
Showing 35 changed files with 0 additions and 36 deletions.
1 change: 0 additions & 1 deletion backends/cryptodev.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include "hw/boards.h"
#include "qapi/error.h"
#include "qapi/visitor.h"
#include "qapi-types.h"
#include "qapi-visit.h"
#include "qemu/config-file.h"
#include "qom/object_interfaces.h"
Expand Down
1 change: 0 additions & 1 deletion backends/hostmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include "hw/boards.h"
#include "qapi/error.h"
#include "qapi/visitor.h"
#include "qapi-types.h"
#include "qapi-visit.h"
#include "qemu/config-file.h"
#include "qom/object_interfaces.h"
Expand Down
1 change: 0 additions & 1 deletion hmp.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

#include "qemu-common.h"
#include "qemu/readline.h"
#include "qapi-types.h"
#include "qapi/qmp/qdict.h"

void hmp_info_name(Monitor *mon, const QDict *qdict);
Expand Down
1 change: 0 additions & 1 deletion include/block/block.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "block/dirty-bitmap.h"
#include "block/blockjob.h"
#include "qapi/qmp/qobject.h"
#include "qapi-types.h"
#include "qemu/hbitmap.h"

/* block.c */
Expand Down
1 change: 0 additions & 1 deletion include/block/block_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
#include "qemu/coroutine.h"
#include "qemu/stats64.h"
#include "qemu/timer.h"
#include "qapi-types.h"
#include "qemu/hbitmap.h"
#include "block/snapshot.h"
#include "qemu/main-loop.h"
Expand Down
1 change: 0 additions & 1 deletion include/block/qapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#ifndef BLOCK_QAPI_H
#define BLOCK_QAPI_H

#include "qapi-types.h"
#include "block/block.h"
#include "block/snapshot.h"

Expand Down
1 change: 0 additions & 1 deletion include/hw/acpi/acpi_dev_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#define ACPI_DEV_INTERFACE_H

#include "qom/object.h"
#include "qapi-types.h"
#include "hw/boards.h"

/* These values are part of guest ABI, and can not be changed */
Expand Down
1 change: 0 additions & 1 deletion include/migration/failover.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#define QEMU_FAILOVER_H

#include "qemu-common.h"
#include "qapi-types.h"

void failover_init_state(void);
FailoverStatus failover_set_state(FailoverStatus old_state,
Expand Down
1 change: 0 additions & 1 deletion include/net/net.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include "qemu/option.h"
#include "net/queue.h"
#include "migration/vmstate.h"
#include "qapi-types.h"

#define MAC_FMT "%02X:%02X:%02X:%02X:%02X:%02X"
#define MAC_ARG(x) ((uint8_t *)(x))[0], ((uint8_t *)(x))[1], \
Expand Down
1 change: 0 additions & 1 deletion include/net/slirp.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include "qemu-common.h"
#include "qapi/qmp/qdict.h"
#include "qemu/option.h"
#include "qapi-types.h"

#ifdef CONFIG_SLIRP

Expand Down
1 change: 0 additions & 1 deletion include/net/tap.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#define QEMU_NET_TAP_H

#include "qemu-common.h"
#include "qapi-types.h"
#include "standard-headers/linux/virtio_net.h"

int tap_enable(NetClientState *nc);
Expand Down
1 change: 0 additions & 1 deletion include/qapi/qmp/qlit.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#ifndef QLIT_H
#define QLIT_H

#include "qapi-types.h"
#include "qobject.h"

typedef struct QLitDictEntry QLitDictEntry;
Expand Down
1 change: 0 additions & 1 deletion include/sysemu/dump.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@

#include "sysemu/dump-arch.h"
#include "sysemu/memory_mapping.h"
#include "qapi-types.h"

typedef struct QEMU_PACKED MakedumpfileHeader {
char signature[16]; /* = "makedumpfile" */
Expand Down
1 change: 0 additions & 1 deletion include/sysemu/replay.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
*
*/

#include "qapi-types.h"
#include "sysemu.h"

/* replay clock kinds */
Expand Down
1 change: 0 additions & 1 deletion include/sysemu/sysemu.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include "qemu/option.h"
#include "qemu/queue.h"
#include "qemu/timer.h"
#include "qapi-types.h"
#include "qemu/notify.h"
#include "qemu/main-loop.h"
#include "qemu/bitmap.h"
Expand Down
1 change: 0 additions & 1 deletion include/sysemu/tpm.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#define QEMU_TPM_H

#include "qom/object.h"
#include "qapi-types.h"

int tpm_config_parse(QemuOptsList *opts_list, const char *optarg);
int tpm_init(void);
Expand Down
1 change: 0 additions & 1 deletion include/sysemu/tpm_backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

#include "qom/object.h"
#include "qemu-common.h"
#include "qapi-types.h"
#include "qemu/option.h"
#include "sysemu/tpm.h"
#include "qapi/error.h"
Expand Down
1 change: 0 additions & 1 deletion include/ui/console.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include "qom/object.h"
#include "qapi/qmp/qdict.h"
#include "qemu/notify.h"
#include "qapi-types.h"
#include "qemu/error-report.h"
#include "qapi/error.h"

Expand Down
1 change: 0 additions & 1 deletion migration/migration.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

#include "qemu-common.h"
#include "qemu/thread.h"
#include "qapi-types.h"
#include "exec/cpu-common.h"
#include "qemu/coroutine_int.h"
#include "hw/qdev.h"
Expand Down
1 change: 0 additions & 1 deletion net/clients.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#define QEMU_NET_CLIENTS_H

#include "net/net.h"
#include "qapi-types.h"

int net_init_dump(const Netdev *netdev, const char *name,
NetClientState *peer, Error **errp);
Expand Down
1 change: 0 additions & 1 deletion net/tap_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#define NET_TAP_INT_H

#include "qemu-common.h"
#include "qapi-types.h"

int tap_open(char *ifname, int ifname_size, int *vnet_hdr,
int vnet_hdr_required, int mq_required, Error **errp);
Expand Down
1 change: 0 additions & 1 deletion qapi/qmp-dispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include "qapi/qmp/dispatch.h"
#include "qapi/qmp/json-parser.h"
#include "qapi/qmp/qjson.h"
#include "qapi-types.h"
#include "qapi/qmp/qerror.h"

static QDict *qmp_dispatch_check_obj(const QObject *request, Error **errp)
Expand Down
1 change: 0 additions & 1 deletion qemu-keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qapi-types.h"
#include "qemu/notify.h"
#include "ui/input.h"

Expand Down
1 change: 0 additions & 1 deletion target/i386/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#include "qapi/qmp/qerror.h"
#include "qapi/qmp/types.h"

#include "qapi-types.h"
#include "qapi-visit.h"
#include "qapi/visitor.h"
#include "qom/qom-qobject.h"
Expand Down
1 change: 0 additions & 1 deletion tests/test-clone-visitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

#include "qemu-common.h"
#include "qapi/clone-visitor.h"
#include "test-qapi-types.h"
#include "test-qapi-visit.h"
#include "qapi/qmp/types.h"

Expand Down
1 change: 0 additions & 1 deletion tests/test-qapi-util.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

#include "qemu/osdep.h"
#include "qapi/error.h"
#include "test-qapi-types.h"

static void test_qapi_enum_parse(void)
{
Expand Down
1 change: 0 additions & 1 deletion tests/test-qmp-event.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include "qemu/osdep.h"

#include "qemu-common.h"
#include "test-qapi-types.h"
#include "test-qapi-visit.h"
#include "test-qapi-event.h"
#include "qapi/qmp/types.h"
Expand Down
1 change: 0 additions & 1 deletion tests/test-qobject-input-visitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include "qemu-common.h"
#include "qapi/error.h"
#include "qapi/qobject-input-visitor.h"
#include "test-qapi-types.h"
#include "test-qapi-visit.h"
#include "qapi/qmp/types.h"
#include "qapi/qmp/qjson.h"
Expand Down
1 change: 0 additions & 1 deletion tests/test-qobject-output-visitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include "qemu-common.h"
#include "qapi/error.h"
#include "qapi/qobject-output-visitor.h"
#include "test-qapi-types.h"
#include "test-qapi-visit.h"
#include "qapi/qmp/types.h"
#include "qapi/qmp/qjson.h"
Expand Down
1 change: 0 additions & 1 deletion tests/test-string-input-visitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include "qemu-common.h"
#include "qapi/error.h"
#include "qapi/string-input-visitor.h"
#include "test-qapi-types.h"
#include "test-qapi-visit.h"
#include "qapi/qmp/types.h"

Expand Down
1 change: 0 additions & 1 deletion tests/test-string-output-visitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include "qemu-common.h"
#include "qapi/error.h"
#include "qapi/string-output-visitor.h"
#include "test-qapi-types.h"
#include "test-qapi-visit.h"
#include "qapi/qmp/types.h"

Expand Down
2 changes: 0 additions & 2 deletions tests/test-visitor-serialization.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <float.h>

#include "qemu-common.h"
#include "test-qapi-types.h"
#include "test-qapi-visit.h"
#include "qapi/error.h"
#include "qapi/qmp/types.h"
Expand All @@ -24,7 +23,6 @@
#include "qapi/qobject-output-visitor.h"
#include "qapi/string-input-visitor.h"
#include "qapi/string-output-visitor.h"
#include "qapi-types.h"
#include "qapi-visit.h"
#include "qapi/dealloc-visitor.h"

Expand Down
1 change: 0 additions & 1 deletion ui/input-legacy.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include "sysemu/sysemu.h"
#include "ui/console.h"
#include "qmp-commands.h"
#include "qapi-types.h"
#include "ui/keymaps.h"
#include "ui/input.h"

Expand Down
1 change: 0 additions & 1 deletion ui/input.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include "qemu/osdep.h"
#include "sysemu/sysemu.h"
#include "qapi-types.h"
#include "qemu/error-report.h"
#include "qmp-commands.h"
#include "trace.h"
Expand Down
1 change: 0 additions & 1 deletion ui/vnc.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
#include "keymaps.h"
#include "vnc-palette.h"
#include "vnc-enc-zrle.h"
#include "qapi-types.h"

// #define _VNC_DEBUG 1

Expand Down

0 comments on commit 522ece3

Please sign in to comment.