Normalize position of header guard
commit0553d895f98d6ffa7354dee324ff7a65fca3367f
authorMarkus Armbruster <armbru@redhat.com>
Tue, 4 Jun 2019 18:16:15 +0000 (4 20:16 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 12 Jun 2019 11:20:20 +0000 (12 13:20 +0200)
tree1bd0b187a8e4aa421d7af3e01ca3d18c80a5c2eb
parenta8d2532645cf5ce4f75981f81dfe363efc35d05c
Normalize position of header guard

This is the common header guard idiom:

    /*
     * File comment
     */

    #ifndef GUARD_SYMBOL_H
    #define GUARD_SYMBOL_H

    ... actual contents ...

    #endif

A few of our headers have some #include before the guard.
target/tilegx/spr_def_64.h has #ifndef __DOXYGEN__ outside the guard.
A few more have the #define elsewhere.

Change them to match the common idiom.  For spr_def_64.h, that means
dropping #ifndef __DOXYGEN__.  While there, rename guard symbols to
make scripts/clean-header-guards.pl happy.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190604181618.19980-2-armbru@redhat.com>
[Rebased with conflicts resolved automatically]
13 files changed:
crypto/ivgen-essiv.h
crypto/ivgen-plain.h
crypto/ivgen-plain64.h
include/hw/arm/allwinner-a10.h
include/hw/arm/omap.h
include/hw/arm/xlnx-zynqmp.h
include/hw/char/cadence_uart.h
include/hw/display/xlnx_dp.h
include/hw/dma/xlnx-zynq-devcfg.h
include/hw/net/cadence_gem.h
target/i386/whp-dispatch.h
target/tilegx/spr_def_64.h
tests/io-channel-helpers.h