]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
Normalize header guard symbol definition
authorMarkus Armbruster <armbru@redhat.com>
Fri, 6 May 2022 13:49:10 +0000 (15:49 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 11 May 2022 14:50:26 +0000 (16:50 +0200)
We commonly define the header guard symbol without an explicit value.
Normalize the exceptions.

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

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20220506134911.2856099-4-armbru@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
20 files changed:
include/exec/memopidx.h
include/tcg/tcg-ldst.h
target/alpha/cpu-param.h
target/arm/cpu-param.h
target/cris/cpu-param.h
target/hppa/cpu-param.h
target/i386/cpu-param.h
target/m68k/cpu-param.h
target/microblaze/cpu-param.h
target/mips/cpu-param.h
target/nios2/cpu-param.h
target/openrisc/cpu-param.h
target/ppc/cpu-param.h
target/riscv/cpu-param.h
target/s390x/cpu-param.h
target/sh4/cpu-param.h
target/sparc/cpu-param.h
target/tricore/cpu-param.h
target/xtensa/cpu-param.h
tcg/tcg-internal.h

index 83bce97874dd6305da792027b2d86c809a599e08..eb7f1591a37642e651a1c5e7030b38abb92bc43f 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 #ifndef EXEC_MEMOPIDX_H
-#define EXEC_MEMOPIDX_H 1
+#define EXEC_MEMOPIDX_H
 
 #include "exec/memop.h"
 
index 121a156933a5b53f9ca9ea3c78bdee0b22e50e80..2ba22bd5fe125d2e420dae158740bbc0ae62d34e 100644 (file)
@@ -23,7 +23,7 @@
  */
 
 #ifndef TCG_LDST_H
-#define TCG_LDST_H 1
+#define TCG_LDST_H
 
 #ifdef CONFIG_SOFTMMU
 
index 1153992e42adcdbf13a237d8994d2cb8598b242d..17cd14e5904211c860218e489e31a224302f28dc 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef ALPHA_CPU_PARAM_H
-#define ALPHA_CPU_PARAM_H 1
+#define ALPHA_CPU_PARAM_H
 
 #define TARGET_LONG_BITS 64
 #define TARGET_PAGE_BITS 13
index b59d505761cb8ee363493e0918f048f48a87fce0..68ffb12427848ced275dfc89dccea0cb1aa8c654 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef ARM_CPU_PARAM_H
-#define ARM_CPU_PARAM_H 1
+#define ARM_CPU_PARAM_H
 
 #ifdef TARGET_AARCH64
 # define TARGET_LONG_BITS             64
index 36a30587612608da3b9806f2e09bf7ec6c237270..12ec22d8df15da95e182db87890d0ec54c7d86c3 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef CRIS_CPU_PARAM_H
-#define CRIS_CPU_PARAM_H 1
+#define CRIS_CPU_PARAM_H
 
 #define TARGET_LONG_BITS 32
 #define TARGET_PAGE_BITS 13
index a97d1428dff4f659bbbecc89c7ad13695fa8efec..a48a2701ae4757b0a90e2187fe9a4c23dde13cdd 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef HPPA_CPU_PARAM_H
-#define HPPA_CPU_PARAM_H 1
+#define HPPA_CPU_PARAM_H
 
 #ifdef TARGET_HPPA64
 # define TARGET_LONG_BITS             64
index 57abc64c0d888c733f3aeeaffdef452c9d2e8e9b..9740bd7abdb6fb561eea35f35cd522e1b08e1601 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef I386_CPU_PARAM_H
-#define I386_CPU_PARAM_H 1
+#define I386_CPU_PARAM_H
 
 #ifdef TARGET_X86_64
 # define TARGET_LONG_BITS             64
index 06556dfbf3ee598f25a3bdcc848b201454fc1026..44a8d193f0b89dc979c186a14f23f35183af995e 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef M68K_CPU_PARAM_H
-#define M68K_CPU_PARAM_H 1
+#define M68K_CPU_PARAM_H
 
 #define TARGET_LONG_BITS 32
 /*
index 4d8297fa94075be944637debb0f0f87fa71366b7..5e54ea010818ed7005d53dd2912b742b9dc022b0 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef MICROBLAZE_CPU_PARAM_H
-#define MICROBLAZE_CPU_PARAM_H 1
+#define MICROBLAZE_CPU_PARAM_H
 
 /*
  * While system mode can address up to 64 bits of address space,
index 1aebd01df9c261b49f79952f32efe0bb5ccdf76a..f4c76994ea4be0ae1643c4db1f5273f8f6423650 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #ifndef MIPS_CPU_PARAM_H
-#define MIPS_CPU_PARAM_H 1
+#define MIPS_CPU_PARAM_H
 
 #ifdef TARGET_MIPS64
 # define TARGET_LONG_BITS 64
index 38bedbfd617d23888ccdb38b9b7826dc81bb29b7..177d7208644664ac781996e5320b9118453b9685 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef NIOS2_CPU_PARAM_H
-#define NIOS2_CPU_PARAM_H 1
+#define NIOS2_CPU_PARAM_H
 
 #define TARGET_LONG_BITS 32
 #define TARGET_PAGE_BITS 12
index 06ee64d1712c06943e5a6f61abc2311ffb5c9b5d..73be699f361b4a7a4a45de026d6b4a8c57043419 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef OPENRISC_CPU_PARAM_H
-#define OPENRISC_CPU_PARAM_H 1
+#define OPENRISC_CPU_PARAM_H
 
 #define TARGET_LONG_BITS 32
 #define TARGET_PAGE_BITS 13
index 37b458d33d45bb6b35e44612bc9ed62700a81ce1..ea377b7d06449310de3df00ec01f268efa964928 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef PPC_CPU_PARAM_H
-#define PPC_CPU_PARAM_H 1
+#define PPC_CPU_PARAM_H
 
 #ifdef TARGET_PPC64
 # define TARGET_LONG_BITS 64
index 80eb615f93f49f3870559c691dfcb5a795610c82..ebaf26d26ddc1aeed66d7e64549aa0740db30fb4 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef RISCV_CPU_PARAM_H
-#define RISCV_CPU_PARAM_H 1
+#define RISCV_CPU_PARAM_H
 
 #if defined(TARGET_RISCV64)
 # define TARGET_LONG_BITS 64
index 472db648d78058d14f678c3f74957b27957419c4..bf951a002e08dd03d4c038b0ac9dcb8adcbcf16c 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef S390_CPU_PARAM_H
-#define S390_CPU_PARAM_H 1
+#define S390_CPU_PARAM_H
 
 #define TARGET_LONG_BITS 64
 #define TARGET_PAGE_BITS 12
index 81ace3503bc9ddd41e64871a61342f7f7a77e59d..98a02509bbbec8e1c0b7dbc03c872339692b23f2 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef SH4_CPU_PARAM_H
-#define SH4_CPU_PARAM_H 1
+#define SH4_CPU_PARAM_H
 
 #define TARGET_LONG_BITS 32
 #define TARGET_PAGE_BITS 12  /* 4k */
index 4746d89411585c2164fa93d9d1940b2a77bfc642..72ddc4a34f09c8f3f6322a3cbe14886d18b6116c 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #ifndef SPARC_CPU_PARAM_H
-#define SPARC_CPU_PARAM_H 1
+#define SPARC_CPU_PARAM_H
 
 #ifdef TARGET_SPARC64
 # define TARGET_LONG_BITS 64
index cf5d9af89d3faaa11bbfe6e421263d410b501036..27279130479f8c019b9bf2d1daa038bced7293c3 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef TRICORE_CPU_PARAM_H
-#define TRICORE_CPU_PARAM_H 1
+#define TRICORE_CPU_PARAM_H
 
 #define TARGET_LONG_BITS 32
 #define TARGET_PAGE_BITS 14
index 4fde21b941b8d260cc2bf4c44c45a76fe07bf779..b53e9a3e08198b62ea820eda8b87b24d204058f9 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef XTENSA_CPU_PARAM_H
-#define XTENSA_CPU_PARAM_H 1
+#define XTENSA_CPU_PARAM_H
 
 #define TARGET_LONG_BITS 32
 #define TARGET_PAGE_BITS 12
index 92c91dcde97bd0eb05cf4b41b62a2e5d2a561227..cc82088d52d6e2f2c4fb488bff81472baeb2681a 100644 (file)
@@ -23,7 +23,7 @@
  */
 
 #ifndef TCG_INTERNAL_H
-#define TCG_INTERNAL_H 1
+#define TCG_INTERNAL_H
 
 #define TCG_HIGHWATER 1024