diff options
author | Markus Armbruster <armbru@redhat.com> | 2022-05-06 15:49:09 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2022-05-11 16:50:01 +0200 |
commit | 9c0928045ce4b97fc59cb285b7a4b559d21e5da0 (patch) | |
tree | f1e14f58bc1cb1f57ecfe5e891aa5fb06b0e0ea4 /target/ppc | |
parent | 52581c718c5cd55595ca032a56f1e194c5716456 (diff) | |
download | qemu-9c0928045ce4b97fc59cb285b7a4b559d21e5da0.zip qemu-9c0928045ce4b97fc59cb285b7a4b559d21e5da0.tar.gz qemu-9c0928045ce4b97fc59cb285b7a4b559d21e5da0.tar.bz2 |
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.
Macros should be ALL_CAPS. Normalize the exception.
Done with scripts/clean-header-guards.pl.
include/hw/xen/interface/ and tools/virtiofsd/ left alone, because
these were imported from Xen and libfuse respectively.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20220506134911.2856099-3-armbru@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/ppc')
-rw-r--r-- | target/ppc/power8-pmu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/ppc/power8-pmu.h b/target/ppc/power8-pmu.h index 256d90f..9692dd7 100644 --- a/target/ppc/power8-pmu.h +++ b/target/ppc/power8-pmu.h @@ -10,8 +10,8 @@ * See the COPYING file in the top-level directory. */ -#ifndef POWER8_PMU -#define POWER8_PMU +#ifndef POWER8_PMU_H +#define POWER8_PMU_H #if defined(TARGET_PPC64) && !defined(CONFIG_USER_ONLY) void cpu_ppc_pmu_init(CPUPPCState *env); |