mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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:
parent
85aad98a0e
commit
121d07125b
83 changed files with 223 additions and 215 deletions
|
@ -11,8 +11,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef EXEC_MEMORY_H
|
||||
#define EXEC_MEMORY_H
|
||||
#ifndef EXEC_ADDRESS_SPACES_H
|
||||
#define EXEC_ADDRESS_SPACES_H
|
||||
|
||||
/*
|
||||
* Internal interfaces between memory.c/exec.c/vl.c. Do not #include unless
|
||||
|
|
|
@ -15,9 +15,8 @@
|
|||
GEN_HELPER 2 to do runtime registration helper functions.
|
||||
*/
|
||||
|
||||
#ifndef DEF_HELPER_H
|
||||
#define DEF_HELPER_H 1
|
||||
|
||||
#ifndef EXEC_HELPER_HEAD_H
|
||||
#define EXEC_HELPER_HEAD_H
|
||||
|
||||
#define HELPER(name) glue(helper_, name)
|
||||
|
||||
|
@ -133,4 +132,4 @@
|
|||
|
||||
/* MAX_OPC_PARAM_IARGS must be set to n if last entry is DEF_HELPER_FLAGS_n. */
|
||||
|
||||
#endif /* DEF_HELPER_H */
|
||||
#endif /* EXEC_HELPER_HEAD_H */
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#ifndef QEMU_TYPES_H
|
||||
#define QEMU_TYPES_H
|
||||
#ifndef EXEC_USER_ABITYPES_H
|
||||
#define EXEC_USER_ABITYPES_H
|
||||
|
||||
#include "cpu.h"
|
||||
|
||||
#ifdef TARGET_ABI32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue