mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
target-*: Clean up cpu.h header guards
Most of them use guard symbols like CPU_$target_H, but we also have __MIPS_CPU_H__ and __TRICORE_CPU_H__. They all upset scripts/clean-header-guards.pl. The script dislikes CPU_$target_H because they don't match their file name (they should, to make guard collisions less likely). The others are reserved identifiers. Clean them all up: use guard symbol $target_CPU_H for target-$target/cpu.h. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
2dbc4ebc17
commit
07f5a25875
18 changed files with 56 additions and 45 deletions
|
@ -1,5 +1,5 @@
|
|||
#ifndef CPU_SPARC_H
|
||||
#define CPU_SPARC_H
|
||||
#ifndef SPARC_CPU_H
|
||||
#define SPARC_CPU_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "qemu/bswap.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue