Clean up header guards that don't match their file name

Header guard symbols should match their file name to make guard
collisions less likely.  Offenders found with
scripts/clean-header-guards.pl -vn.

Cleaned up with scripts/clean-header-guards.pl, followed by some
renaming of new guard symbols picked by the script to better ones.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
Markus Armbruster 2016-06-29 10:12:57 +02:00
parent 85aad98a0e
commit 121d07125b
83 changed files with 223 additions and 215 deletions

View file

@ -8,8 +8,8 @@
*
*/
#ifndef ARM_MISC_H
#define ARM_MISC_H 1
#ifndef HW_ARM_H
#define HW_ARM_H
#include "exec/memory.h"
#include "target-arm/cpu-qom.h"
@ -140,4 +140,4 @@ void arm_write_secure_board_setup_dummy_smc(ARMCPU *cpu,
ticks. */
extern int system_clock_scale;
#endif /* !ARM_MISC_H */
#endif /* HW_ARM_H */

View file

@ -22,8 +22,8 @@
* THE SOFTWARE.
*/
#ifndef HW_ARM_STM32F205SOC_H
#define HW_ARM_STM32F205SOC_H
#ifndef HW_ARM_STM32F205_SOC_H
#define HW_ARM_STM32F205_SOC_H
#include "hw/misc/stm32f2xx_syscfg.h"
#include "hw/timer/stm32f2xx_timer.h"