Skip to content
Snippets Groups Projects
  • Markus Armbruster's avatar
    4bd802b2
    Clean up includes · 4bd802b2
    Markus Armbruster authored
    
    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 bbfff196.
    
    Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
    Message-Id: <20201113061216.2483385-1-armbru@redhat.com>
    Acked-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    Acked-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
    Tested-by: default avatarThomas Huth <thuth@redhat.com>
    Acked-by: default avatarCornelia Huck <cohuck@redhat.com>
    Acked-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    Acked-by: default avatarAlexander Bulekov <alxndr@bu.edu>
    4bd802b2
    History
    Clean up includes
    Markus Armbruster authored
    
    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 bbfff196.
    
    Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
    Message-Id: <20201113061216.2483385-1-armbru@redhat.com>
    Acked-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    Acked-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
    Tested-by: default avatarThomas Huth <thuth@redhat.com>
    Acked-by: default avatarCornelia Huck <cohuck@redhat.com>
    Acked-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    Acked-by: default avatarAlexander Bulekov <alxndr@bu.edu>