OSDN Git Service

Clean up includes
authorMarkus Armbruster <armbru@redhat.com>
Fri, 13 Nov 2020 06:12:16 +0000 (07:12 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 10 Dec 2020 16:16:44 +0000 (17:16 +0100)
commit4bd802b209cff612d1a99674a91895b735be8630
tree62dc4857d7c31b353981b53d8fb52e692f6cfc0b
parent00ef48ff0de9c3e5834e7e3f6691bbc80d08c114
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, with the changes
to the following files manually reverted:

    contrib/libvhost-user/libvhost-user-glib.h
    contrib/libvhost-user/libvhost-user.c
    contrib/libvhost-user/libvhost-user.h
    contrib/plugins/hotblocks.c
    contrib/plugins/hotpages.c
    contrib/plugins/howvec.c
    contrib/plugins/lockstep.c
    linux-user/mips64/cpu_loop.c
    linux-user/mips64/signal.c
    linux-user/sparc64/cpu_loop.c
    linux-user/sparc64/signal.c
    linux-user/x86_64/cpu_loop.c
    linux-user/x86_64/signal.c
    target/s390x/gen-features.c
    tests/fp/platform.h
    tests/migration/s390x/a-b-bios.c
    tests/plugin/bb.c
    tests/plugin/empty.c
    tests/plugin/insn.c
    tests/plugin/mem.c
    tests/test-rcu-simpleq.c
    tests/test-rcu-slist.c
    tests/test-rcu-tailq.c
    tests/uefi-test-tools/UefiTestToolsPkg/BiosTablesTest/BiosTablesTest.c

contrib/plugins/, tests/plugin/, and tests/test-rcu-slist.c appear not
to include osdep.h intentionally.  The remaining reverts are the same
as in commit bbfff19688d.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20201113061216.2483385-1-armbru@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Alexander Bulekov <alxndr@bu.edu>
27 files changed:
contrib/vhost-user-gpu/virgl.c
contrib/vhost-user-gpu/vugbm.c
contrib/vhost-user-gpu/vugbm.h
contrib/vhost-user-gpu/vugpu.h
contrib/vhost-user-input/main.c
hw/display/artist.c
hw/s390x/s390-pci-vfio.c
include/hw/block/swim.h
include/hw/display/macfb.h
include/qemu/nvdimm-utils.h
tests/qtest/fuzz/fuzz.h
tests/qtest/fuzz/generic_fuzz_configs.h
tools/virtiofsd/buffer.c
tools/virtiofsd/fuse_common.h
tools/virtiofsd/fuse_log.c
tools/virtiofsd/fuse_log.h
tools/virtiofsd/fuse_lowlevel.c
tools/virtiofsd/fuse_lowlevel.h
tools/virtiofsd/fuse_misc.h
tools/virtiofsd/fuse_opt.c
tools/virtiofsd/fuse_signals.c
tools/virtiofsd/fuse_virtio.c
tools/virtiofsd/helper.c
tools/virtiofsd/passthrough_ll.c
tools/virtiofsd/passthrough_seccomp.c
tools/virtiofsd/passthrough_seccomp.h
util/nvdimm-utils.c