X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Favrt.c;h=cabb2725fa2534b2a575be6c6bd5fbd7c9fcbf42;hb=9e9633c6b98cc9243ae78cd12ab657d041eaa73e;hp=43715614d7da0ca13729a5277fe04f08d7d90ff6;hpb=0f1163e823c6ca3c2a81fa296157f5dde0635fea;p=openocd.git diff --git a/src/target/avrt.c b/src/target/avrt.c index 43715614d7..cabb2725fa 100644 --- a/src/target/avrt.c +++ b/src/target/avrt.c @@ -29,11 +29,11 @@ #define AVR_JTAG_INS_LEN 4 /* cli handling */ -int avr_register_commands(struct command_context_s *cmd_ctx); +int avr_register_commands(struct command_context *cmd_ctx); /* forward declarations */ int avr_target_create(struct target *target, Jim_Interp *interp); -int avr_init_target(struct command_context_s *cmd_ctx, struct target *target); +int avr_init_target(struct command_context *cmd_ctx, struct target *target); int avr_arch_state(struct target *target); int avr_poll(struct target *target); @@ -96,7 +96,7 @@ struct target_type avr_target = .init_target = avr_init_target, }; -int avr_register_commands(struct command_context_s *cmd_ctx) +int avr_register_commands(struct command_context *cmd_ctx) { LOG_DEBUG("%s", __FUNCTION__); return ERROR_OK; @@ -112,7 +112,7 @@ int avr_target_create(struct target *target, Jim_Interp *interp) return ERROR_OK; } -int avr_init_target(struct command_context_s *cmd_ctx, struct target *target) +int avr_init_target(struct command_context *cmd_ctx, struct target *target) { LOG_DEBUG("%s", __FUNCTION__); return ERROR_OK;