提交 79ffb277 编写于 作者: P Peter Maydell 提交者: Michael Tokarev

tests: Remove unnecessary glib.h includes

Remove glib.h includes, as it is provided by osdep.h.

This commit was created with scripts/clean-includes.
Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
Reviewed-by: NEric Blake <eblake@redhat.com>
Tested-by: NEric Blake <eblake@redhat.com>
Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
上级 df891b91
......@@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
/* Tests only initialization so far. TODO: Replace with functional tests */
......
......@@ -24,7 +24,6 @@
#include "qemu/osdep.h"
#include <getopt.h>
#include <glib.h>
#include "libqtest.h"
#include "libqos/libqos-pc.h"
......
......@@ -11,7 +11,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include <glib/gstdio.h>
#include "qemu-common.h"
#include "libqtest.h"
......
......@@ -11,7 +11,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqos/fw_cfg.h"
#include "libqtest.h"
......
......@@ -10,7 +10,6 @@
* See the COPYING.LIB file in the top-level directory.
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qapi/qmp/qint.h"
#include "qapi/qmp/qdict.h"
......
......@@ -11,7 +11,6 @@
*
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qapi/qmp/qfloat.h"
#include "qemu-common.h"
......
......@@ -10,7 +10,6 @@
* See the COPYING.LIB file in the top-level directory.
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qapi/qmp/qint.h"
#include "qemu-common.h"
......
......@@ -11,7 +11,6 @@
*
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qapi/qmp/qstring.h"
#include "qapi/qmp/qint.h"
......
......@@ -10,7 +10,6 @@
* See the COPYING.LIB file in the top-level directory.
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qapi/qmp/qint.h"
#include "qapi/qmp/qlist.h"
......
......@@ -7,7 +7,6 @@
* See the COPYING.LIB file in the top-level directory.
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qapi/qmp/qobject.h"
#include "qemu-common.h"
......
......@@ -10,7 +10,6 @@
* See the COPYING.LIB file in the top-level directory.
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qom/object.h"
#include "qemu/module.h"
......
......@@ -19,7 +19,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qapi/error.h"
#include "qom/object.h"
......
......@@ -10,7 +10,6 @@
* See the COPYING.LIB file in the top-level directory.
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qapi/qmp/qstring.h"
#include "qemu-common.h"
......
......@@ -18,7 +18,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu-common.h"
#include "qapi/qmp/qstring.h"
#include "libqtest.h"
......
......@@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
static void pci_cirrus(void)
......
......@@ -11,7 +11,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
static void drive_add(void)
......
......@@ -21,8 +21,6 @@
#include "libqtest.h"
#include "libqos/i2c.h"
#include <glib.h>
#define IMX25_I2C_0_BASE 0x43F80000
#define DS1338_ADDR 0x68
......
......@@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
/* Tests only initialization so far. TODO: Replace with functional tests */
......
......@@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
static void test_device(gconstpointer data)
......
......@@ -12,7 +12,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
#include "qemu/bswap.h"
......
......@@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
/* Tests only initialization so far. TODO: Replace with functional tests */
......
......@@ -24,7 +24,6 @@
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
#include "qemu-common.h"
......
......@@ -11,7 +11,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
#include "hw/nvram/fw_cfg_keys.h"
......
......@@ -16,7 +16,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu-common.h"
#include "libqtest.h"
......
......@@ -13,7 +13,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include <sys/mman.h>
#include "libqtest.h"
......
......@@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
/* Tests only initialization so far. TODO: Replace with functional tests */
......
......@@ -24,7 +24,6 @@
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
#include "libqos/libqos.h"
......
......@@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
#define HDA_ID "hda0"
......
......@@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
/* Tests only initialization so far. TODO: Replace with functional tests */
......
......@@ -29,7 +29,6 @@
#include <netinet/ip.h>
#include <netinet/tcp.h>
#include <glib.h>
#include "libqtest.h"
#include "qemu-common.h"
......
......@@ -24,7 +24,6 @@
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
......
......@@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
/* Tests only initialization so far. TODO: Replace with functional tests */
......
......@@ -9,7 +9,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include <glib/gstdio.h>
#include <sys/mman.h>
#include "contrib/ivshmem-server/ivshmem-server.h"
......
......@@ -23,7 +23,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
#include "libqos/ahci.h"
......
......@@ -13,7 +13,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqos/fw_cfg.h"
#include "libqtest.h"
#include "qemu/bswap.h"
......
......@@ -20,7 +20,6 @@
#include "qemu/osdep.h"
#include "libqos/i2c.h"
#include <glib.h>
#include "libqtest.h"
......
......@@ -9,7 +9,6 @@
#include "qemu/osdep.h"
#include "libqos/i2c.h"
#include <glib.h>
#include "qemu/bswap.h"
#include "libqtest.h"
......
#include "qemu/osdep.h"
#include <glib.h>
#include <sys/wait.h>
#include "libqtest.h"
......
......@@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqos/malloc-generic.h"
#include "libqos/malloc.h"
......
......@@ -17,7 +17,6 @@
#include "hw/nvram/fw_cfg_keys.h"
#include "qemu-common.h"
#include <glib.h>
#define PAGE_SIZE (4096)
......
......@@ -14,7 +14,6 @@
#include "libqos/malloc.h"
#include "qemu-common.h"
#include "qemu/host-utils.h"
#include <glib.h>
typedef QTAILQ_HEAD(MemList, MemBlock) MemList;
......
......@@ -19,7 +19,6 @@
#include "qemu-common.h"
#include "qemu/host-utils.h"
#include <glib.h>
#define ACPI_PCIHP_ADDR 0xae00
#define PCI_EJ_BASE 0x0008
......
......@@ -14,7 +14,6 @@
#include "libqos/pci.h"
#include "hw/pci/pci_regs.h"
#include <glib.h>
void qpci_device_foreach(QPCIBus *bus, int vendor_id, int device_id,
void (*func)(QPCIDevice *dev, int devfn, void *data),
......
......@@ -12,7 +12,6 @@
* See the COPYING file in the top-level directory.
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
#include "hw/usb/uhci-regs.h"
#include "libqos/usb.h"
......
......@@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
#include "libqos/virtio.h"
#include "libqos/virtio-mmio.h"
......
......@@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
#include "libqos/virtio.h"
#include "libqos/virtio-pci.h"
......
......@@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
#include "libqos/virtio.h"
......
......@@ -17,7 +17,6 @@
#include "qemu/osdep.h"
#include "libqtest.h"
#include <glib.h>
#include <sys/socket.h>
#include <sys/wait.h>
#include <sys/un.h>
......
......@@ -13,7 +13,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
......
......@@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
/* Tests only initialization so far. TODO: Replace with functional tests */
......
......@@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
/* Tests only initialization so far. TODO: Replace with functional tests */
......
......@@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu-common.h"
#include "libqtest.h"
......
......@@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
/* Tests only initialization so far. TODO: Replace with functional tests */
......
......@@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
static void test_panic(void)
......
......@@ -12,7 +12,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include <glib/gstdio.h>
#include "qemu-common.h"
#include "libqtest.h"
......
......@@ -10,7 +10,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
#include "libqos/pci.h"
#include "libqos/pci-pc.h"
......
......@@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu-common.h"
#include "qemu/cutils.h"
......
......@@ -61,7 +61,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu/atomic.h"
#include "qemu/rcu.h"
#include "qemu/thread.h"
......
......@@ -12,7 +12,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
#include "hw/timer/mc146818rtc_regs.h"
......
......@@ -8,7 +8,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
#include "libqos/pci-pc.h"
#include "qemu/timer.h"
......
......@@ -8,7 +8,6 @@
* See the COPYING file in the top-level directory.
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
......
......@@ -7,7 +7,6 @@
* See the COPYING file in the top-level directory.
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
#include "libqos/pci.h"
......
......@@ -11,7 +11,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "block/aio.h"
#include "qapi/error.h"
#include "qemu/timer.h"
......
......@@ -19,7 +19,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qapi/error.h"
#include "qemu/base64.h"
......
......@@ -7,7 +7,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu/bitops.h"
typedef struct {
......
......@@ -11,7 +11,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qapi/error.h"
#include "qemu/main-loop.h"
#include "block/blockjob.h"
......
......@@ -12,7 +12,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu/coroutine.h"
#include "qemu/coroutine_int.h"
......
......@@ -19,7 +19,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "crypto/init.h"
#include "crypto/cipher.h"
......
......@@ -19,7 +19,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "crypto/init.h"
#include "crypto/hash.h"
......
......@@ -19,7 +19,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "crypto/init.h"
#include "crypto/secret.h"
......
......@@ -26,7 +26,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu/cutils.h"
......
......@@ -9,7 +9,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
#include "qemu/iov.h"
#include "qemu/sockets.h"
......
......@@ -51,7 +51,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
#include "qemu/iov.h"
#include "qemu/sockets.h"
......
......@@ -10,7 +10,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu/hbitmap.h"
#define LOG_BITS_PER_LONG (BITS_PER_LONG == 32 ? 5 : 6)
......
......@@ -7,7 +7,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu/int128.h"
/* clang doesn't support __noclone__ but it does have a mechanism for
......
......@@ -19,7 +19,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "io/task.h"
#include "qapi/error.h"
......
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu-common.h"
#include "qemu/iov.h"
#include "qemu/sockets.h"
......
......@@ -25,7 +25,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu-common.h"
#include "include/qemu/log.h"
......
......@@ -7,7 +7,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu/host-utils.h"
......
......@@ -9,7 +9,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"
/* add a netfilter to a netdev and then remove it */
......
......@@ -11,7 +11,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu/config-file.h" /* qemu_add_opts() */
#include "qemu/option.h" /* qemu_opts_parse() */
......
......@@ -23,7 +23,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "hw/qdev.h"
#include "qom/object.h"
......
......@@ -12,7 +12,6 @@
#include "qapi/qmp/qstring.h"
#include "qemu/config-file.h"
#include <glib.h>
static QemuOptsList opts_list_01 = {
.name = "opts_list_01",
......
#include "qemu/osdep.h"
#include <locale.h>
#include <glib.h>
#include <glib/gstdio.h>
#include <sys/socket.h>
#include <sys/un.h>
......
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu-common.h"
#include "qapi/qmp/types.h"
#include "test-qmp-commands.h"
......
......@@ -12,7 +12,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu-common.h"
#include "test-qapi-types.h"
......
......@@ -12,7 +12,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu-common.h"
#include "qapi/error.h"
......
......@@ -11,7 +11,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu-common.h"
#include "qapi/error.h"
......
......@@ -11,7 +11,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu-common.h"
#include "qapi/error.h"
......
......@@ -21,7 +21,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu/atomic.h"
#include "qemu/rcu.h"
#include "qemu/thread.h"
......
......@@ -11,7 +11,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu-common.h"
#include "qemu/rfifolock.h"
......
......@@ -11,7 +11,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu-common.h"
#include "qapi/error.h"
......
......@@ -11,7 +11,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu-common.h"
#include "qapi/error.h"
......
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu-common.h"
#include "block/aio.h"
#include "block/thread-pool.h"
......
......@@ -13,7 +13,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include <math.h>
#include "block/aio.h"
#include "qapi/error.h"
......
......@@ -11,7 +11,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu/timed-average.h"
......
......@@ -12,7 +12,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include <float.h>
#include "qemu-common.h"
......
......@@ -23,7 +23,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qemu-common.h"
#include "migration/migration.h"
......
......@@ -7,7 +7,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "block/block_int.h"
#include "block/write-threshold.h"
......
......@@ -23,7 +23,6 @@
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "hw/i386/topology.h"
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册