diff options
author | Markus Armbruster <armbru@redhat.com> | 2016-06-29 13:47:03 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2016-07-12 16:20:46 +0200 |
commit | 2a6a4076e117113ebec97b1821071afccfdfbc96 (patch) | |
tree | 349b8c30ac34fa345b5ce59aa1f4271dfe1a6543 /target-ppc | |
parent | 965379b4555aef0aaae734a7be139454bb0fcac4 (diff) |
Clean up ill-advised or unusual header guards
Cleaned up with scripts/clean-header-guards.pl.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-ppc')
-rw-r--r-- | target-ppc/helper_regs.h | 6 | ||||
-rw-r--r-- | target-ppc/kvm_ppc.h | 6 | ||||
-rw-r--r-- | target-ppc/mmu-hash32.h | 6 | ||||
-rw-r--r-- | target-ppc/mmu-hash64.h | 6 |
4 files changed, 12 insertions, 12 deletions
diff --git a/target-ppc/helper_regs.h b/target-ppc/helper_regs.h index 8fdfa5c7e6..8d38828936 100644 --- a/target-ppc/helper_regs.h +++ b/target-ppc/helper_regs.h @@ -17,8 +17,8 @@ * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#if !defined(__HELPER_REGS_H__) -#define __HELPER_REGS_H__ +#ifndef HELPER_REGS_H +#define HELPER_REGS_H /* Swap temporary saved registers with GPRs */ static inline void hreg_swap_gpr_tgpr(CPUPPCState *env) @@ -168,4 +168,4 @@ static inline void check_tlb_flush(CPUPPCState *env) static inline void check_tlb_flush(CPUPPCState *env) { } #endif -#endif /* !defined(__HELPER_REGS_H__) */ +#endif /* HELPER_REGS_H */ diff --git a/target-ppc/kvm_ppc.h b/target-ppc/kvm_ppc.h index 20bfb59b1a..5461d1082c 100644 --- a/target-ppc/kvm_ppc.h +++ b/target-ppc/kvm_ppc.h @@ -6,8 +6,8 @@ * */ -#ifndef __KVM_PPC_H__ -#define __KVM_PPC_H__ +#ifndef KVM_PPC_H +#define KVM_PPC_H #define TYPE_HOST_POWERPC_CPU "host-" TYPE_POWERPC_CPU @@ -316,4 +316,4 @@ static inline void kvmppc_icbi_range(PowerPCCPU *cpu, uint8_t *addr, int len) #define KVM_INTERRUPT_SET_LEVEL -3 #endif -#endif /* __KVM_PPC_H__ */ +#endif /* KVM_PPC_H */ diff --git a/target-ppc/mmu-hash32.h b/target-ppc/mmu-hash32.h index aaceacd4d7..5b9fb08d1a 100644 --- a/target-ppc/mmu-hash32.h +++ b/target-ppc/mmu-hash32.h @@ -1,5 +1,5 @@ -#if !defined (__MMU_HASH32_H__) -#define __MMU_HASH32_H__ +#ifndef MMU_HASH32_H +#define MMU_HASH32_H #ifndef CONFIG_USER_ONLY @@ -109,4 +109,4 @@ typedef struct { #endif /* CONFIG_USER_ONLY */ -#endif /* __MMU_HASH32_H__ */ +#endif /* MMU_HASH32_H */ diff --git a/target-ppc/mmu-hash64.h b/target-ppc/mmu-hash64.h index 3a7476b30a..db265e30b2 100644 --- a/target-ppc/mmu-hash64.h +++ b/target-ppc/mmu-hash64.h @@ -1,5 +1,5 @@ -#if !defined (__MMU_HASH64_H__) -#define __MMU_HASH64_H__ +#ifndef MMU_HASH64_H +#define MMU_HASH64_H #ifndef CONFIG_USER_ONLY @@ -134,4 +134,4 @@ typedef struct { #endif /* CONFIG_USER_ONLY */ -#endif /* !defined (__MMU_HASH64_H__) */ +#endif /* MMU_HASH64_H */ |