arm920t_cache_line_t -> struct arm920t_cache_line
authorZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 16:40:09 +0000 (08:40 -0800)
committerZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 19:58:09 +0000 (11:58 -0800)
Remove misleading typedef and redundant suffix from struct arm920t_cache_line.

src/target/arm920t.c
src/target/arm920t.h

index 336b01c..871d2f7 100644 (file)
@@ -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);
index 38dafcf..9a837b5 100644 (file)
@@ -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
 {