summaryrefslogtreecommitdiff
path: root/src/target/arm7tdmi.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-11-05 20:36:42 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-05 20:36:42 -0800
commitb7e4c26b9bb10e6e0ebfb07e5d43f0d62526cde2 (patch)
tree27e5025551654daa2a174b9cbe4ddcdb1ab512b0 /src/target/arm7tdmi.h
parent1e57376c1a54e2a6097d1578aaeb387276377969 (diff)
downloadopenocd+libswd-b7e4c26b9bb10e6e0ebfb07e5d43f0d62526cde2.tar.gz
openocd+libswd-b7e4c26b9bb10e6e0ebfb07e5d43f0d62526cde2.tar.bz2
openocd+libswd-b7e4c26b9bb10e6e0ebfb07e5d43f0d62526cde2.tar.xz
openocd+libswd-b7e4c26b9bb10e6e0ebfb07e5d43f0d62526cde2.zip
ARM7TDMI: remove forward decls
The forward decls are just code clutter; remove them, by moving their references after definitions. This is another file which never needed even one internal forward declaration. Also shrink a few overly-long lines with function declarations or definitions; get rid of arm7tdmi_register_commands(), it's not needed (just delegated); minor whitespace declutter. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/arm7tdmi.h')
-rw-r--r--src/target/arm7tdmi.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/target/arm7tdmi.h b/src/target/arm7tdmi.h
index b3ece44e..da5c0401 100644
--- a/src/target/arm7tdmi.h
+++ b/src/target/arm7tdmi.h
@@ -34,7 +34,6 @@ typedef struct arm7tdmi_common_s
arm7_9_common_t arm7_9_common;
} arm7tdmi_common_t;
-int arm7tdmi_register_commands(struct command_context_s *cmd_ctx);
int arm7tdmi_init_arch_info(target_t *target, arm7tdmi_common_t *arm7tdmi, jtag_tap_t *tap);
int arm7tdmi_init_target(struct command_context_s *cmd_ctx, struct target_s *target);
int arm7tdmi_examine(struct target_s *target);