]> git.sur5r.net Git - openocd/commitdiff
arm_load_store_instr_t -> struct arm_load_store_instr
authorZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 16:40:44 +0000 (08:40 -0800)
committerZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 19:58:10 +0000 (11:58 -0800)
Remove misleading typedef and redundant suffix from struct arm_load_store_instr.

src/target/arm_disassembler.h

index e7e3e95a2e05b37a225949b4852bf4e0bfba77d9..c69ab65920625f4fb3c17b75a0037ec49245a589 100644 (file)
@@ -152,7 +152,7 @@ struct arm_data_proc_instr
        union arm_shifter_operand shifter_operand;
 };
 
-typedef struct arm_load_store_instr_s
+struct arm_load_store_instr
 {
        uint8_t Rd;
        uint8_t Rn;
@@ -168,7 +168,7 @@ typedef struct arm_load_store_instr_s
                        uint8_t shift_imm;
                } reg;
        } offset;
-} arm_load_store_instr_t;
+};
 
 typedef struct arm_load_store_multiple_instr_s
 {
@@ -191,7 +191,7 @@ typedef struct arm_instruction_s
        union {
                struct arm_b_bl_bx_blx_instr b_bl_bx_blx;
                struct arm_data_proc_instr data_proc;
-               arm_load_store_instr_t load_store;
+               struct arm_load_store_instr load_store;
                arm_load_store_multiple_instr_t load_store_multiple;
        } info;