diff options
Diffstat (limited to 'target-tricore')
-rw-r--r-- | target-tricore/cpu-qom.h | 2 | ||||
-rw-r--r-- | target-tricore/cpu.h | 7 | ||||
-rw-r--r-- | target-tricore/tricore-defs.h | 6 |
3 files changed, 8 insertions, 7 deletions
diff --git a/target-tricore/cpu-qom.h b/target-tricore/cpu-qom.h index 399c98f2d6..6a69756126 100644 --- a/target-tricore/cpu-qom.h +++ b/target-tricore/cpu-qom.h @@ -41,4 +41,4 @@ typedef struct TriCoreCPUClass { typedef struct TriCoreCPU TriCoreCPU; -#endif /*QEMU_TRICORE_CPU_QOM_H */ +#endif /* QEMU_TRICORE_CPU_QOM_H */ diff --git a/target-tricore/cpu.h b/target-tricore/cpu.h index a298d63eea..a3493a123c 100644 --- a/target-tricore/cpu.h +++ b/target-tricore/cpu.h @@ -16,8 +16,9 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#if !defined(__TRICORE_CPU_H__) -#define __TRICORE_CPU_H__ + +#ifndef TRICORE_CPU_H +#define TRICORE_CPU_H #include "tricore-defs.h" #include "qemu-common.h" @@ -420,4 +421,4 @@ int cpu_tricore_handle_mmu_fault(CPUState *cpu, target_ulong address, int rw, int mmu_idx); #define cpu_handle_mmu_fault cpu_tricore_handle_mmu_fault -#endif /*__TRICORE_CPU_H__ */ +#endif /* TRICORE_CPU_H */ diff --git a/target-tricore/tricore-defs.h b/target-tricore/tricore-defs.h index 4350b03044..40abfaac14 100644 --- a/target-tricore/tricore-defs.h +++ b/target-tricore/tricore-defs.h @@ -15,8 +15,8 @@ * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#if !defined(__QEMU_TRICORE_DEFS_H__) -#define __QEMU_TRICORE_DEFS_H__ +#ifndef QEMU_TRICORE_DEFS_H +#define QEMU_TRICORE_DEFS_H #define TARGET_PAGE_BITS 14 #define TARGET_LONG_BITS 32 @@ -25,4 +25,4 @@ #define TRICORE_TLB_MAX 128 -#endif /* __QEMU_TRICORE_DEFS_H__ */ +#endif /* QEMU_TRICORE_DEFS_H */ |