From: Zachary T Welch Date: Fri, 13 Nov 2009 16:40:09 +0000 (-0800) Subject: arm920t_cache_line_t -> struct arm920t_cache_line X-Git-Tag: v0.4.0-rc1~697 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b174a0d75ec81fbcd075c8c8d7f915e4a3d76bc3;p=openocd arm920t_cache_line_t -> struct arm920t_cache_line Remove misleading typedef and redundant suffix from struct arm920t_cache_line. --- diff --git a/src/target/arm920t.c b/src/target/arm920t.c index 336b01c5..871d2f70 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 38dafcf1..9a837b52 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 {