summaryrefslogtreecommitdiff
path: root/src/target/arm926ejs.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-29 01:43:01 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-29 01:43:01 +0000
commit1de959ca1c9e67ef57f77ec2d7a1132b73153abb (patch)
tree6e2feea9aa7b86028a10feffd199011446687af7 /src/target/arm926ejs.c
parent55c39bae67cb3b26dacb78a9d45fcd900745c3d8 (diff)
downloadopenocd+libswd-1de959ca1c9e67ef57f77ec2d7a1132b73153abb.tar.gz
openocd+libswd-1de959ca1c9e67ef57f77ec2d7a1132b73153abb.tar.bz2
openocd+libswd-1de959ca1c9e67ef57f77ec2d7a1132b73153abb.tar.xz
openocd+libswd-1de959ca1c9e67ef57f77ec2d7a1132b73153abb.zip
Remove redundant declarations to allow building with -Wredundant-decls.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1560 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/arm926ejs.c')
-rw-r--r--src/target/arm926ejs.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/target/arm926ejs.c b/src/target/arm926ejs.c
index ba156d48..a6ef5e10 100644
--- a/src/target/arm926ejs.c
+++ b/src/target/arm926ejs.c
@@ -34,8 +34,6 @@
#endif
/* cli handling */
-int arm926ejs_register_commands(struct command_context_s *cmd_ctx);
-
int arm926ejs_handle_cp15_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc);
int arm926ejs_handle_cp15i_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc);
int arm926ejs_handle_virt2phys_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc);
@@ -50,10 +48,8 @@ int arm926ejs_handle_read_mmu_command(struct command_context_s *cmd_ctx, char *c
int arm926ejs_target_create(struct target_s *target, Jim_Interp *interp);
int arm926ejs_init_target(struct command_context_s *cmd_ctx, struct target_s *target);
int arm926ejs_quit(void);
-int arm926ejs_arch_state(struct target_s *target);
int arm926ejs_read_memory(struct target_s *target, u32 address, u32 size, u32 count, u8 *buffer);
-int arm926ejs_write_memory(struct target_s *target, u32 address, u32 size, u32 count, u8 *buffer);
-int arm926ejs_soft_reset_halt(struct target_s *target);
+
static int arm926ejs_virt2phys(struct target_s *target, u32 virtual, u32 *physical);
static int arm926ejs_mmu(struct target_s *target, int *enabled);