summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:40:40 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:10 -0800
commitf9e091a2d3841d4b5e2f49f3b4337261974b2f2c (patch)
tree26414bdcafff26e0238f8269eba9385338c23e70 /src
parent67f2f8393742bd88017b54ae0cfd833265bb1517 (diff)
downloadopenocd_libswd-f9e091a2d3841d4b5e2f49f3b4337261974b2f2c.tar.gz
openocd_libswd-f9e091a2d3841d4b5e2f49f3b4337261974b2f2c.tar.bz2
openocd_libswd-f9e091a2d3841d4b5e2f49f3b4337261974b2f2c.tar.xz
openocd_libswd-f9e091a2d3841d4b5e2f49f3b4337261974b2f2c.zip
arm_data_proc_instr_t -> struct arm_data_proc_instr
Remove misleading typedef and redundant suffix from struct arm_data_proc_instr.
Diffstat (limited to 'src')
-rw-r--r--src/target/arm_disassembler.h6
1 files changed, 3 insertions, 3 deletions
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;