summaryrefslogtreecommitdiff
path: root/src/target/arm9tdmi.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:40:22 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:09 -0800
commit785115a6a0a850f24f01fb385757a331eea9f093 (patch)
treeb41762f30f515c344cee787c79d670710a115630 /src/target/arm9tdmi.h
parent1ad4ee2deb5a888cb9f9b825a0e4fbfa68aa1218 (diff)
downloadopenocd+libswd-785115a6a0a850f24f01fb385757a331eea9f093.tar.gz
openocd+libswd-785115a6a0a850f24f01fb385757a331eea9f093.tar.bz2
openocd+libswd-785115a6a0a850f24f01fb385757a331eea9f093.tar.xz
openocd+libswd-785115a6a0a850f24f01fb385757a331eea9f093.zip
arm9tdmi_common_t -> struct arm9tdmi_common
Remove misleading typedef and redundant suffix from struct arm9tdmi_common.
Diffstat (limited to 'src/target/arm9tdmi.h')
-rw-r--r--src/target/arm9tdmi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/arm9tdmi.h b/src/target/arm9tdmi.h
index 85ed0296..61d1ccf5 100644
--- a/src/target/arm9tdmi.h
+++ b/src/target/arm9tdmi.h
@@ -28,10 +28,10 @@
/* FIXME we don't really need a separate arm9tdmi struct any more...
* remove it, the arm7/arm9 common struct suffices.
*/
-typedef struct arm9tdmi_common_s
+struct arm9tdmi_common
{
struct arm7_9_common arm7_9_common;
-} arm9tdmi_common_t;
+};
typedef struct arm9tdmi_vector_s
{
@@ -55,7 +55,7 @@ int arm9tdmi_init_target(struct command_context_s *cmd_ctx,
struct target_s *target);
int arm9tdmi_examine(struct target_s *target);
int arm9tdmi_init_arch_info(target_t *target,
- arm9tdmi_common_t *arm9tdmi, struct jtag_tap *tap);
+ struct arm9tdmi_common *arm9tdmi, struct jtag_tap *tap);
int arm9tdmi_register_commands(struct command_context_s *cmd_ctx);
int arm9tdmi_clock_out(arm_jtag_t *jtag_info,