diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-09 04:22:23 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-09 09:44:33 -0800 |
commit | 3885ab5a5af7ece410ce3eeb1059da3ea950436a (patch) | |
tree | 97f0ec5c6570c5d87ba42819bde60be9fee6f0b5 /src/target/arm_disassembler.h | |
parent | 42cafc9369088d2a5d5f633358a2a42aa7bbc0de (diff) | |
download | riscv-openocd-3885ab5a5af7ece410ce3eeb1059da3ea950436a.zip riscv-openocd-3885ab5a5af7ece410ce3eeb1059da3ea950436a.tar.gz riscv-openocd-3885ab5a5af7ece410ce3eeb1059da3ea950436a.tar.bz2 |
src/target: remove 'extern' and wrap headers
Remove extern keywords from function prototypes and wrap long lines.
Diffstat (limited to 'src/target/arm_disassembler.h')
-rw-r--r-- | src/target/arm_disassembler.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/target/arm_disassembler.h b/src/target/arm_disassembler.h index b841d6c..8021e7c 100644 --- a/src/target/arm_disassembler.h +++ b/src/target/arm_disassembler.h @@ -197,11 +197,13 @@ typedef struct arm_instruction_s } arm_instruction_t; -extern int arm_evaluate_opcode(uint32_t opcode, uint32_t address, arm_instruction_t *instruction); -extern int thumb_evaluate_opcode(uint16_t opcode, uint32_t address, arm_instruction_t *instruction); -extern int thumb2_opcode(target_t *target, uint32_t address, +int arm_evaluate_opcode(uint32_t opcode, uint32_t address, arm_instruction_t *instruction); -extern int arm_access_size(arm_instruction_t *instruction); +int thumb_evaluate_opcode(uint16_t opcode, uint32_t address, + arm_instruction_t *instruction); +int thumb2_opcode(target_t *target, uint32_t address, + arm_instruction_t *instruction); +int arm_access_size(arm_instruction_t *instruction); #define COND(opcode) (arm_condition_strings[(opcode & 0xf0000000) >> 28]) |