X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftarget%2Fxscale.c;h=39378c01a02baba1ab175ceda4fffe28793e4b60;hb=f370d70670bd5e30befe6fbfbc8d472e760f032b;hp=0c99abf78ac227551b5f5eaee3ae735bfd31f53a;hpb=20f505f695df9d9ba4c20780848336afec240a31;p=fw%2Fopenocd diff --git a/src/target/xscale.c b/src/target/xscale.c index 0c99abf78..39378c01a 100644 --- a/src/target/xscale.c +++ b/src/target/xscale.c @@ -55,7 +55,7 @@ int xscale_register_commands(struct command_context_s *cmd_ctx); /* forward declarations */ int xscale_target_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc, struct target_s *target); int xscale_init_target(struct command_context_s *cmd_ctx, struct target_s *target); -int xscale_quit(); +int xscale_quit(void); int xscale_arch_state(struct target_s *target); int xscale_poll(target_t *target); @@ -1579,7 +1579,7 @@ int xscale_assert_reset(target_t *target) jtag_execute_queue(); target->state = TARGET_RESET; - + if (target->reset_halt) { int retval; @@ -2989,7 +2989,7 @@ int xscale_init_target(struct command_context_s *cmd_ctx, struct target_s *targe return ERROR_OK; } -int xscale_quit() +int xscale_quit(void) { return ERROR_OK;