]> git.sur5r.net Git - openocd/commitdiff
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 336b01c5e4547c42f520eab294339e0f14746288..871d2f7071527cda95c7abf08376a7c32ba8e29d 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 38dafcf10ddc27d33d9e0761c7bd927ed3180314..9a837b52852e82409bf1d9b4aad0279af383fb95 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
 {