From b174a0d75ec81fbcd075c8c8d7f915e4a3d76bc3 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Fri, 13 Nov 2009 08:40:09 -0800 Subject: [PATCH] arm920t_cache_line_t -> struct arm920t_cache_line Remove misleading typedef and redundant suffix from struct arm920t_cache_line. --- src/target/arm920t.c | 2 +- src/target/arm920t.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/target/arm920t.c b/src/target/arm920t.c index 336b01c5e4..871d2f7071 100644 --- a/src/target/arm920t.c +++ b/src/target/arm920t.c @@ -676,7 +676,7 @@ COMMAND_HANDLER(arm920t_handle_read_cache_command) uint32_t C15_C_D_Ind, C15_C_I_Ind; int i; FILE *output; - arm920t_cache_line_t d_cache[8][64], i_cache[8][64]; + struct arm920t_cache_line d_cache[8][64], i_cache[8][64]; int segment, index; retval = arm920t_verify_pointer(cmd_ctx, arm920t); diff --git a/src/target/arm920t.h b/src/target/arm920t.h index 38dafcf10d..9a837b5285 100644 --- a/src/target/arm920t.h +++ b/src/target/arm920t.h @@ -45,11 +45,11 @@ target_to_arm920(struct target_s *target) arm9tdmi_common.arm7_9_common.armv4_5_common); } -typedef struct arm920t_cache_line_s +struct arm920t_cache_line { uint32_t cam; uint32_t data[8]; -} arm920t_cache_line_t; +}; typedef struct arm920t_tlb_entry_s { -- 2.30.2