From 55c5063c61e030c533b4bca8ef2a2ad26f1bc73a Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Wed, 29 Jun 2016 16:05:18 +0200 Subject: linux-user: Clean up target_cpu.h header guards These headers all use TARGET_CPU_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_TARGET_CPU_H for linux-user/$target/target_cpu.h. Signed-off-by: Markus Armbruster Reviewed-by: Richard Henderson --- linux-user/ppc/target_cpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux-user/ppc/target_cpu.h') diff --git a/linux-user/ppc/target_cpu.h b/linux-user/ppc/target_cpu.h index 26f4ba297f..3aab3d185d 100644 --- a/linux-user/ppc/target_cpu.h +++ b/linux-user/ppc/target_cpu.h @@ -16,8 +16,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see . */ -#ifndef TARGET_CPU_H -#define TARGET_CPU_H +#ifndef PPC_TARGET_CPU_H +#define PPC_TARGET_CPU_H static inline void cpu_clone_regs(CPUPPCState *env, target_ulong newsp) { -- cgit v1.2.3