diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 08:44:18 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:12 -0800 |
commit | c2b5d8a6fa72ce6b0fed1e612d4fe5e4b54ba45a (patch) | |
tree | 6349d90a8f8935fc02bc356ae8f23516ac9847a2 /src/target/target.c | |
parent | 74d09617b927ed7011098d5a65087dee1ef1e87a (diff) | |
download | riscv-openocd-c2b5d8a6fa72ce6b0fed1e612d4fe5e4b54ba45a.zip riscv-openocd-c2b5d8a6fa72ce6b0fed1e612d4fe5e4b54ba45a.tar.gz riscv-openocd-c2b5d8a6fa72ce6b0fed1e612d4fe5e4b54ba45a.tar.bz2 |
reg_arch_type_t -> struct reg_arch_type
Remove misleading typedef and redundant suffix from struct reg_arch_type.
Diffstat (limited to 'src/target/target.c')
-rw-r--r-- | src/target/target.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/target.c b/src/target/target.c index eaa29db..8932266 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -1961,7 +1961,7 @@ COMMAND_HANDLER(handle_reg_command) if (reg->valid == 0) { - reg_arch_type_t *arch_type = register_get_arch_type(reg->arch_type); + struct reg_arch_type *arch_type = register_get_arch_type(reg->arch_type); arch_type->get(reg); } value = buf_to_str(reg->value, reg->size, 16); @@ -1976,7 +1976,7 @@ COMMAND_HANDLER(handle_reg_command) uint8_t *buf = malloc(CEIL(reg->size, 8)); str_to_buf(args[1], strlen(args[1]), buf, reg->size, 0); - reg_arch_type_t *arch_type = register_get_arch_type(reg->arch_type); + struct reg_arch_type *arch_type = register_get_arch_type(reg->arch_type); arch_type->set(reg, buf); value = buf_to_str(reg->value, reg->size, 16); |