diff options
Diffstat (limited to 'src/target')
-rw-r--r-- | src/target/mips_m4k.c | 6 | ||||
-rw-r--r-- | src/target/target.c | 2 | ||||
-rw-r--r-- | src/target/target.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/target/mips_m4k.c b/src/target/mips_m4k.c index 4cefbf92..7cca55de 100644 --- a/src/target/mips_m4k.c +++ b/src/target/mips_m4k.c @@ -43,10 +43,10 @@ int mips_m4k_read_memory(struct target_s *target, u32 address, u32 size, u32 cou int mips_m4k_write_memory(struct target_s *target, u32 address, u32 size, u32 count, u8 *buffer); int mips_m4k_register_commands(struct command_context_s *cmd_ctx); int mips_m4k_init_target(struct command_context_s *cmd_ctx, struct target_s *target); -int mips_m4k_quit(); +int mips_m4k_quit(void); int mips_m4k_target_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc, struct target_s *target); -int mips_m4k_examine(struct command_context_s *cmd_ctx, struct target_s *target); +int mips_m4k_examine(struct target_s *target); int mips_m4k_assert_reset(target_t *target); int mips_m4k_deassert_reset(target_t *target); @@ -618,7 +618,7 @@ int mips_m4k_target_command(struct command_context_s *cmd_ctx, char *cmd, char * return ERROR_OK; } -int mips_m4k_examine(struct command_context_s *cmd_ctx, struct target_s *target) +int mips_m4k_examine(struct target_s *target) { int retval; mips32_common_t *mips32 = target->arch_info; diff --git a/src/target/target.c b/src/target/target.c index 37e1b369..efa00edf 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -383,7 +383,7 @@ static int default_examine(struct target_s *target) * * XScale */ -int target_examine(struct command_context_s *cmd_ctx) +int target_examine(void) { int retval = ERROR_OK; target_t *target = targets; diff --git a/src/target/target.h b/src/target/target.h index 2551ede7..bf009ea4 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -250,7 +250,7 @@ typedef struct target_timer_callback_s extern int target_register_commands(struct command_context_s *cmd_ctx); extern int target_register_user_commands(struct command_context_s *cmd_ctx); extern int target_init(struct command_context_s *cmd_ctx); -extern int target_examine(); +extern int target_examine(void); extern int handle_target(void *priv); extern int target_process_reset(struct command_context_s *cmd_ctx, enum target_reset_mode reset_mode); |