diff options
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 4a1024fe..d7c7623d 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 54722ac6..145f836f 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 */ |