diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 08:41:52 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:10 -0800 |
commit | e7f65c5a116802c4e510fe212b26e9a020de0b3e (patch) | |
tree | 55945c17aaa2ceaa1efc0b4f153c16a48b21511d /src/target | |
parent | 4bc80e5a65dde09ca795e50e77bcfe77b8dd444f (diff) | |
download | riscv-openocd-e7f65c5a116802c4e510fe212b26e9a020de0b3e.zip riscv-openocd-e7f65c5a116802c4e510fe212b26e9a020de0b3e.tar.gz riscv-openocd-e7f65c5a116802c4e510fe212b26e9a020de0b3e.tar.bz2 |
avr_common_t -> struct avr_common
Remove misleading typedef and redundant suffix from struct avr_common.
Diffstat (limited to 'src/target')
-rw-r--r-- | src/target/avrt.c | 2 | ||||
-rw-r--r-- | src/target/avrt.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/target/avrt.c b/src/target/avrt.c index 4a1024f..d7c7623 100644 --- a/src/target/avrt.c +++ b/src/target/avrt.c @@ -104,7 +104,7 @@ int avr_register_commands(struct command_context_s *cmd_ctx) int avr_target_create(struct target_s *target, Jim_Interp *interp) { - avr_common_t *avr = calloc(1, sizeof(avr_common_t)); + struct avr_common *avr = calloc(1, sizeof(struct avr_common)); avr->jtag_info.tap = target->tap; target->arch_info = avr; diff --git a/src/target/avrt.h b/src/target/avrt.h index 54722ac..145f836 100644 --- a/src/target/avrt.h +++ b/src/target/avrt.h @@ -27,9 +27,9 @@ struct mcu_jtag struct jtag_tap *tap; }; -typedef struct avr_common_s +struct avr_common { struct mcu_jtag jtag_info; -} avr_common_t; +}; #endif /* AVRT_H */ |