From: Zachary T Welch Date: Fri, 13 Nov 2009 16:40:40 +0000 (-0800) Subject: arm_data_proc_instr_t -> struct arm_data_proc_instr X-Git-Tag: v0.4.0-rc1~689 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f9e091a2d3841d4b5e2f49f3b4337261974b2f2c;p=openocd arm_data_proc_instr_t -> struct arm_data_proc_instr Remove misleading typedef and redundant suffix from struct arm_data_proc_instr. --- diff --git a/src/target/arm_disassembler.h b/src/target/arm_disassembler.h index 52fe24a0..e7e3e95a 100644 --- a/src/target/arm_disassembler.h +++ b/src/target/arm_disassembler.h @@ -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;