summaryrefslogtreecommitdiff
path: root/src/target/arm7tdmi.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:40:06 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:09 -0800
commit8e77975b92a75d392727339eccd6cc7898628ebb (patch)
tree3f90a6452868de69a28d393afd062dc63aff22a5 /src/target/arm7tdmi.h
parent8012b3963fc49c7edf87f31a93bc0039095f5b59 (diff)
downloadopenocd+libswd-8e77975b92a75d392727339eccd6cc7898628ebb.tar.gz
openocd+libswd-8e77975b92a75d392727339eccd6cc7898628ebb.tar.bz2
openocd+libswd-8e77975b92a75d392727339eccd6cc7898628ebb.tar.xz
openocd+libswd-8e77975b92a75d392727339eccd6cc7898628ebb.zip
arm7tdmi_common_t -> struct arm7tdmi_common
Remove misleading typedef and redundant suffix from struct arm7tdmi_common.
Diffstat (limited to 'src/target/arm7tdmi.h')
-rw-r--r--src/target/arm7tdmi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/arm7tdmi.h b/src/target/arm7tdmi.h
index b6996973..4faec180 100644
--- a/src/target/arm7tdmi.h
+++ b/src/target/arm7tdmi.h
@@ -28,12 +28,12 @@
/* FIXME we don't really need a separate arm7tdmi struct any more...
* remove it, the arm7/arm9 common struct suffices.
*/
-typedef struct arm7tdmi_common_s
+struct arm7tdmi_common
{
struct arm7_9_common arm7_9_common;
-} arm7tdmi_common_t;
+};
-int arm7tdmi_init_arch_info(target_t *target, arm7tdmi_common_t *arm7tdmi, struct jtag_tap *tap);
+int arm7tdmi_init_arch_info(target_t *target, struct arm7tdmi_common *arm7tdmi, struct jtag_tap *tap);
int arm7tdmi_init_target(struct command_context_s *cmd_ctx, struct target_s *target);
int arm7tdmi_examine(struct target_s *target);