diff options
author | Markus Armbruster <armbru@redhat.com> | 2016-06-29 15:29:06 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2016-07-12 16:20:46 +0200 |
commit | 175de52487ce0b0c78daa4cdf41a5a465a168a25 (patch) | |
tree | 2beed30befbec6d0d54a242f12817fdf5451bb20 /include/exec | |
parent | 2a6a4076e117113ebec97b1821071afccfdfbc96 (diff) |
Clean up decorations and whitespace around 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 'include/exec')
-rw-r--r-- | include/exec/cpu-common.h | 4 | ||||
-rw-r--r-- | include/exec/gen-icount.h | 2 | ||||
-rw-r--r-- | include/exec/helper-gen.h | 2 | ||||
-rw-r--r-- | include/exec/helper-proto.h | 2 | ||||
-rw-r--r-- | include/exec/helper-tcg.h | 2 | ||||
-rw-r--r-- | include/exec/softmmu-semi.h | 3 |
6 files changed, 8 insertions, 7 deletions
diff --git a/include/exec/cpu-common.h b/include/exec/cpu-common.h index 9ac1eaf995..952bcfeb4c 100644 --- a/include/exec/cpu-common.h +++ b/include/exec/cpu-common.h @@ -1,5 +1,5 @@ #ifndef CPU_COMMON_H -#define CPU_COMMON_H 1 +#define CPU_COMMON_H /* CPU interfaces that are target independent. */ @@ -117,4 +117,4 @@ int qemu_ram_foreach_block(RAMBlockIterFunc func, void *opaque); #endif -#endif /* !CPU_COMMON_H */ +#endif /* CPU_COMMON_H */ diff --git a/include/exec/gen-icount.h b/include/exec/gen-icount.h index a011324b92..1af03d8f23 100644 --- a/include/exec/gen-icount.h +++ b/include/exec/gen-icount.h @@ -1,5 +1,5 @@ #ifndef GEN_ICOUNT_H -#define GEN_ICOUNT_H 1 +#define GEN_ICOUNT_H #include "qemu/timer.h" diff --git a/include/exec/helper-gen.h b/include/exec/helper-gen.h index be96254e5a..8239ffc77c 100644 --- a/include/exec/helper-gen.h +++ b/include/exec/helper-gen.h @@ -2,7 +2,7 @@ This one expands generation functions for tcg opcodes. */ #ifndef HELPER_GEN_H -#define HELPER_GEN_H 1 +#define HELPER_GEN_H #include "exec/helper-head.h" diff --git a/include/exec/helper-proto.h b/include/exec/helper-proto.h index 00901370ed..954bef85ce 100644 --- a/include/exec/helper-proto.h +++ b/include/exec/helper-proto.h @@ -2,7 +2,7 @@ This one expands prototypes for the helper functions. */ #ifndef HELPER_PROTO_H -#define HELPER_PROTO_H 1 +#define HELPER_PROTO_H #include "exec/helper-head.h" diff --git a/include/exec/helper-tcg.h b/include/exec/helper-tcg.h index 62d87a32d6..bb9287727c 100644 --- a/include/exec/helper-tcg.h +++ b/include/exec/helper-tcg.h @@ -2,7 +2,7 @@ This one defines data structures private to tcg.c. */ #ifndef HELPER_TCG_H -#define HELPER_TCG_H 1 +#define HELPER_TCG_H #include "exec/helper-head.h" diff --git a/include/exec/softmmu-semi.h b/include/exec/softmmu-semi.h index 3a58c3f087..7eefad8f39 100644 --- a/include/exec/softmmu-semi.h +++ b/include/exec/softmmu-semi.h @@ -6,8 +6,9 @@ * * This code is licensed under the GPL */ + #ifndef SOFTMMU_SEMI_H -#define SOFTMMU_SEMI_H 1 +#define SOFTMMU_SEMI_H static inline uint64_t softmmu_tget64(CPUArchState *env, target_ulong addr) { |