]> git.sur5r.net Git - openocd/commitdiff
arm_data_proc_instr_t -> struct arm_data_proc_instr
authorZachary T Welch <zw@superlucidity.net>
Fri, 13 Nov 2009 16:40:40 +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_data_proc_instr.

src/target/arm_disassembler.h

index 52fe24a01fbdaeea0e0ab56a5bf445751b18027a..e7e3e95a2e05b37a225949b4852bf4e0bfba77d9 100644 (file)
@@ -143,14 +143,14 @@ union arm_shifter_operand
        } register_shift;
 };
 
-typedef struct arm_data_proc_instr_s
+struct arm_data_proc_instr
 {
        int variant; /* 0: immediate, 1: immediate_shift, 2: register_shift */
        uint8_t S;
        uint8_t Rn;
        uint8_t Rd;
        union arm_shifter_operand shifter_operand;
-} arm_data_proc_instr_t;
+};
 
 typedef struct arm_load_store_instr_s
 {
@@ -190,7 +190,7 @@ typedef struct arm_instruction_s
 
        union {
                struct arm_b_bl_bx_blx_instr b_bl_bx_blx;
-               arm_data_proc_instr_t data_proc;
+               struct arm_data_proc_instr data_proc;
                arm_load_store_instr_t load_store;
                arm_load_store_multiple_instr_t load_store_multiple;
        } info;