linux-user: Clean up hostdep.h header guards
authorMarkus Armbruster <armbru@redhat.com>
Wed, 29 Jun 2016 14:22:46 +0000 (16:22 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 12 Jul 2016 14:19:16 +0000 (16:19 +0200)
These headers all use QEMU_HOSTDEP_H as header guard symbol.  Reuse of
the same guard symbol in multiple headers is okay as long as they
cannot be included together.

Since we can avoid guard symbol reuse easily, do so: use guard symbol
$target_HOSTDEP_H for linux-user/host/$target/hostdep.h.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
13 files changed:
linux-user/host/aarch64/hostdep.h
linux-user/host/arm/hostdep.h
linux-user/host/i386/hostdep.h
linux-user/host/ia64/hostdep.h
linux-user/host/mips/hostdep.h
linux-user/host/ppc/hostdep.h
linux-user/host/ppc64/hostdep.h
linux-user/host/s390/hostdep.h
linux-user/host/s390x/hostdep.h
linux-user/host/sparc/hostdep.h
linux-user/host/sparc64/hostdep.h
linux-user/host/x32/hostdep.h
linux-user/host/x86_64/hostdep.h

index b79eaf18118a0ba38eb72300b168afe7d61c3221..64f75cef491908f300e4e5ec1ce8750a3325c4fe 100644 (file)
@@ -9,8 +9,8 @@
  * See the COPYING file in the top-level directory.
  */
 
-#ifndef QEMU_HOSTDEP_H
-#define QEMU_HOSTDEP_H
+#ifndef AARCH64_HOSTDEP_H
+#define AARCH64_HOSTDEP_H
 
 /* We have a safe-syscall.inc.S */
 #define HAVE_SAFE_SYSCALL
index 8e1ff2ffc5ae6bace7be71739eb1d0a08d52bf87..5c1ae60120634f7e0028ffcaf490c5ab24f1254e 100644 (file)
@@ -9,8 +9,8 @@
  * See the COPYING file in the top-level directory.
  */
 
-#ifndef QEMU_HOSTDEP_H
-#define QEMU_HOSTDEP_H
+#ifndef ARM_HOSTDEP_H
+#define ARM_HOSTDEP_H
 
 /* We have a safe-syscall.inc.S */
 #define HAVE_SAFE_SYSCALL
index 5a12f4adce602bff0a77215dffd1545a8b8f4a47..d834bd80ea785a36417be18ea0261d6fcd762240 100644 (file)
@@ -9,8 +9,8 @@
  * See the COPYING file in the top-level directory.
  */
 
-#ifndef QEMU_HOSTDEP_H
-#define QEMU_HOSTDEP_H
+#ifndef I386_HOSTDEP_H
+#define I386_HOSTDEP_H
 
 /* We have a safe-syscall.inc.S */
 #define HAVE_SAFE_SYSCALL
index 7609bf5cd7a6bf529ef76dab1155b739de3ffde0..263bf7658e5c25bfcce38a6784bab57e07159846 100644 (file)
@@ -9,7 +9,7 @@
  * See the COPYING file in the top-level directory.
  */
 
-#ifndef QEMU_HOSTDEP_H
-#define QEMU_HOSTDEP_H
+#ifndef IA64_HOSTDEP_H
+#define IA64_HOSTDEP_H
 
 #endif
index 7609bf5cd7a6bf529ef76dab1155b739de3ffde0..ba111d75c3743be65d2f82badc2bc2a62d591b5a 100644 (file)
@@ -9,7 +9,7 @@
  * See the COPYING file in the top-level directory.
  */
 
-#ifndef QEMU_HOSTDEP_H
-#define QEMU_HOSTDEP_H
+#ifndef MIPS_HOSTDEP_H
+#define MIPS_HOSTDEP_H
 
 #endif
index 7609bf5cd7a6bf529ef76dab1155b739de3ffde0..23d8bd9d47978dd392b1598168b7b3bc00cf7040 100644 (file)
@@ -9,7 +9,7 @@
  * See the COPYING file in the top-level directory.
  */
 
-#ifndef QEMU_HOSTDEP_H
-#define QEMU_HOSTDEP_H
+#ifndef PPC_HOSTDEP_H
+#define PPC_HOSTDEP_H
 
 #endif
index 310e7d1b7385a8261b66bd286f5c7552e5269f0c..0b0f5f78218acc0a45f6a39603bf335efe846df5 100644 (file)
@@ -9,8 +9,8 @@
  * See the COPYING file in the top-level directory.
  */
 
-#ifndef QEMU_HOSTDEP_H
-#define QEMU_HOSTDEP_H
+#ifndef PPC64_HOSTDEP_H
+#define PPC64_HOSTDEP_H
 
 /* We have a safe-syscall.inc.S */
 #define HAVE_SAFE_SYSCALL
index 7609bf5cd7a6bf529ef76dab1155b739de3ffde0..afcba5a16a8e61b54da6d753c85af2eb1c3a3cfb 100644 (file)
@@ -9,7 +9,7 @@
  * See the COPYING file in the top-level directory.
  */
 
-#ifndef QEMU_HOSTDEP_H
-#define QEMU_HOSTDEP_H
+#ifndef S390_HOSTDEP_H
+#define S390_HOSTDEP_H
 
 #endif
index e95871c46a634aaafa8acc4a20889b02ea8856d8..6f9da9c608bdd7c7a92ed4a6d123157a3cc12ad6 100644 (file)
@@ -9,8 +9,8 @@
  * See the COPYING file in the top-level directory.
  */
 
-#ifndef QEMU_HOSTDEP_H
-#define QEMU_HOSTDEP_H
+#ifndef S390X_HOSTDEP_H
+#define S390X_HOSTDEP_H
 
 /* We have a safe-syscall.inc.S */
 #define HAVE_SAFE_SYSCALL
index 7609bf5cd7a6bf529ef76dab1155b739de3ffde0..391ad923cf5c30c0dabd381a09ea13776da2cc1b 100644 (file)
@@ -9,7 +9,7 @@
  * See the COPYING file in the top-level directory.
  */
 
-#ifndef QEMU_HOSTDEP_H
-#define QEMU_HOSTDEP_H
+#ifndef SPARC_HOSTDEP_H
+#define SPARC_HOSTDEP_H
 
 #endif
index 7609bf5cd7a6bf529ef76dab1155b739de3ffde0..ce3968fca08837a89dc3a14fa41886e47f98c659 100644 (file)
@@ -9,7 +9,7 @@
  * See the COPYING file in the top-level directory.
  */
 
-#ifndef QEMU_HOSTDEP_H
-#define QEMU_HOSTDEP_H
+#ifndef SPARC64_HOSTDEP_H
+#define SPARC64_HOSTDEP_H
 
 #endif
index 7609bf5cd7a6bf529ef76dab1155b739de3ffde0..2c2d6d37da3ecc66efcaf1f09b0b7553acb97785 100644 (file)
@@ -9,7 +9,7 @@
  * See the COPYING file in the top-level directory.
  */
 
-#ifndef QEMU_HOSTDEP_H
-#define QEMU_HOSTDEP_H
+#ifndef X32_HOSTDEP_H
+#define X32_HOSTDEP_H
 
 #endif
index 9dfbf3ae6acb4f1eec1faee095b5deaf51e95e7c..3b4259633ecb726fa352fff464cc9443e342e002 100644 (file)
@@ -9,8 +9,8 @@
  * See the COPYING file in the top-level directory.
  */
 
-#ifndef QEMU_HOSTDEP_H
-#define QEMU_HOSTDEP_H
+#ifndef X86_64_HOSTDEP_H
+#define X86_64_HOSTDEP_H
 
 /* We have a safe-syscall.inc.S */
 #define HAVE_SAFE_SYSCALL