diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-29 01:43:01 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-29 01:43:01 +0000 |
commit | 1de959ca1c9e67ef57f77ec2d7a1132b73153abb (patch) | |
tree | 6e2feea9aa7b86028a10feffd199011446687af7 /src/target/arm926ejs.c | |
parent | 55c39bae67cb3b26dacb78a9d45fcd900745c3d8 (diff) | |
download | riscv-openocd-1de959ca1c9e67ef57f77ec2d7a1132b73153abb.zip riscv-openocd-1de959ca1c9e67ef57f77ec2d7a1132b73153abb.tar.gz riscv-openocd-1de959ca1c9e67ef57f77ec2d7a1132b73153abb.tar.bz2 |
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.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/target/arm926ejs.c b/src/target/arm926ejs.c index ba156d4..a6ef5e1 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); |