summaryrefslogtreecommitdiff
path: root/src/target/mips_m4k.c
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-08-06 14:36:37 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-08-06 14:36:37 +0000
commitce16ff901c63c65d6087af4436159a6529de3b95 (patch)
treed8589e3ec36005a5c14a89528a23c81d23719323 /src/target/mips_m4k.c
parent09bb073239279be4df77a40377da66a741f43c5c (diff)
downloadopenocd+libswd-ce16ff901c63c65d6087af4436159a6529de3b95.tar.gz
openocd+libswd-ce16ff901c63c65d6087af4436159a6529de3b95.tar.bz2
openocd+libswd-ce16ff901c63c65d6087af4436159a6529de3b95.tar.xz
openocd+libswd-ce16ff901c63c65d6087af4436159a6529de3b95.zip
- fix target_examine declaration
- remove build warnings - added --enable-gccwarnings to docs - update mips_m4k_examine function git-svn-id: svn://svn.berlios.de/openocd/trunk@893 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/mips_m4k.c')
-rw-r--r--src/target/mips_m4k.c6
1 files changed, 3 insertions, 3 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;