Clean up ill-advised or unusual header guards
commit6ea2edbf0ec6dd225b7e116bca8a1c11365ce905
authorMarkus Armbruster <armbru@redhat.com>
Fri, 15 Mar 2019 14:51:21 +0000 (15 15:51 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 17 Apr 2019 17:20:46 +0000 (17 19:20 +0200)
treeab378c1e12745162f2d29bdbe63c8916ef80dbfb
parentc78fcb9de8d247cf7f9d6abec6c35a28f1f340e7
Clean up ill-advised or unusual header guards

Leading underscores are ill-advised because such identifiers are
reserved.  Trailing underscores are merely ugly.  Strip both.

Our header guards commonly end in _H.  Normalize the exceptions.

Done with scripts/clean-header-guards.pl.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190315145123.28030-7-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
[Changes to slirp/ dropped, as we're about to spin it off]
38 files changed:
block/crypto.h
hw/i386/amd_iommu.h
hw/tpm/tpm_ioctl.h
hw/xtensa/xtensa_memory.h
include/authz/base.h
include/authz/list.h
include/authz/simple.h
include/chardev/spice.h
include/hw/ppc/pnv.h
include/hw/ppc/pnv_core.h
include/hw/ppc/pnv_lpc.h
include/hw/ppc/pnv_occ.h
include/hw/ppc/pnv_psi.h
include/hw/ppc/pnv_xscom.h
include/hw/ppc/spapr_ovec.h
include/hw/timer/pl031.h
include/hw/virtio/vhost-vsock.h
include/hw/virtio/virtio-crypto.h
include/hw/xen/start_info.h
include/hw/xtensa/mx_pic.h
include/qemu/drm.h
include/qemu/jhash.h
include/sysemu/hvf.h
linux-user/xtensa/syscall_nr.h
linux-user/xtensa/target_structs.h
linux-user/xtensa/termbits.h
qga/vss-win32/vss-handles.h
target/i386/hax-i386.h
target/i386/hax-interface.h
target/i386/hvf/hvf-i386.h
target/i386/hvf/vmcs.h
target/i386/hvf/x86_emu.h
target/i386/hvf/x86_flags.h
target/i386/hvf/x86_mmu.h
target/riscv/pmp.h
target/sparc/asi.h
tests/libqos/e1000e.h
tests/libqos/sdhci.h