diff options
author | Markus Armbruster | 2016-06-29 10:12:57 +0200 |
---|---|---|
committer | Markus Armbruster | 2016-07-12 16:19:16 +0200 |
commit | 121d07125bb6d7079c7ebafdd3efe8c3a01cc440 (patch) | |
tree | f6201b5906fcb3bfd73aeb1ce74e104249b41c27 /target-xtensa | |
parent | Drop Emacs local variables lists redundant with .dir-locals.el (diff) | |
download | qemu-121d07125bb6d7079c7ebafdd3efe8c3a01cc440.tar.gz qemu-121d07125bb6d7079c7ebafdd3efe8c3a01cc440.tar.xz qemu-121d07125bb6d7079c7ebafdd3efe8c3a01cc440.zip |
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>
Diffstat (limited to 'target-xtensa')
-rw-r--r-- | target-xtensa/core-dc232b/core-isa.h | 7 | ||||
-rw-r--r-- | target-xtensa/core-dc233c/core-isa.h | 7 | ||||
-rw-r--r-- | target-xtensa/core-fsf/core-isa.h | 7 |
3 files changed, 9 insertions, 12 deletions
diff --git a/target-xtensa/core-dc232b/core-isa.h b/target-xtensa/core-dc232b/core-isa.h index 69f1065574..a9935b87af 100644 --- a/target-xtensa/core-dc232b/core-isa.h +++ b/target-xtensa/core-dc232b/core-isa.h @@ -8,9 +8,8 @@ * Copyright (c) 1999-2007 Tensilica Inc. */ -#ifndef _XTENSA_CORE_CONFIGURATION_H -#define _XTENSA_CORE_CONFIGURATION_H - +#ifndef XTENSA_DC232B_CORE_ISA_H +#define XTENSA_DC232B_CORE_ISA_H /**************************************************************************** Parameters Useful for Any Code, USER or PRIVILEGED @@ -420,4 +419,4 @@ #endif /* !XTENSA_HAL_NON_PRIVILEGED_ONLY */ -#endif /* _XTENSA_CORE_CONFIGURATION_H */ +#endif /* XTENSA_DC232B_CORE_ISA_H */ diff --git a/target-xtensa/core-dc233c/core-isa.h b/target-xtensa/core-dc233c/core-isa.h index e82c3cbe48..ff92b7f3ed 100644 --- a/target-xtensa/core-dc233c/core-isa.h +++ b/target-xtensa/core-dc233c/core-isa.h @@ -28,9 +28,8 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#ifndef _XTENSA_CORE_CONFIGURATION_H -#define _XTENSA_CORE_CONFIGURATION_H - +#ifndef XTENSA_DC233C_CORE_ISA_H +#define XTENSA_DC233C_CORE_ISA_H /**************************************************************************** Parameters Useful for Any Code, USER or PRIVILEGED @@ -471,4 +470,4 @@ usable for an MMU-based OS */ #endif /* !XTENSA_HAL_NON_PRIVILEGED_ONLY */ -#endif /* _XTENSA_CORE_CONFIGURATION_H */ +#endif /* XTENSA_DC233C_CORE_ISA_H */ diff --git a/target-xtensa/core-fsf/core-isa.h b/target-xtensa/core-fsf/core-isa.h index b519d6c741..fb2bb8f2cb 100644 --- a/target-xtensa/core-fsf/core-isa.h +++ b/target-xtensa/core-fsf/core-isa.h @@ -8,9 +8,8 @@ * Copyright (C) 1999-2006 Tensilica Inc. */ -#ifndef _XTENSA_CORE_H -#define _XTENSA_CORE_H - +#ifndef XTENSA_FSF_CORE_ISA_H +#define XTENSA_FSF_CORE_ISA_H /**************************************************************************** Parameters Useful for Any Code, USER or PRIVILEGED @@ -358,4 +357,4 @@ #endif /* !XTENSA_HAL_NON_PRIVILEGED_ONLY */ -#endif /* _XTENSA_CORE_CONFIGURATION_H */ +#endif /* XTENSA_FSF_CORE_ISA_H */ |