summaryrefslogtreecommitdiff
path: root/src/target/xscale.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 10:11:13 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:14 -0800
commit0f1163e823c6ca3c2a81fa296157f5dde0635fea (patch)
tree60551098bba500cd8b7fc4bd669d64fd3ed8f061 /src/target/xscale.h
parentd0dee7ccafcf87259fadf6c5de43df8583b0e885 (diff)
downloadopenocd+libswd-0f1163e823c6ca3c2a81fa296157f5dde0635fea.tar.gz
openocd+libswd-0f1163e823c6ca3c2a81fa296157f5dde0635fea.tar.bz2
openocd+libswd-0f1163e823c6ca3c2a81fa296157f5dde0635fea.tar.xz
openocd+libswd-0f1163e823c6ca3c2a81fa296157f5dde0635fea.zip
target_t -> struct target
Remove misleading typedef and redundant suffix from struct target.
Diffstat (limited to 'src/target/xscale.h')
-rw-r--r--src/target/xscale.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/xscale.h b/src/target/xscale.h
index 9f25327f..4f1b54d8 100644
--- a/src/target/xscale.h
+++ b/src/target/xscale.h
@@ -132,7 +132,7 @@ struct xscale_common
};
static inline struct xscale_common *
-target_to_xscale(struct target_s *target)
+target_to_xscale(struct target *target)
{
return container_of(target->arch_info, struct xscale_common,
armv4_5_common);
@@ -141,7 +141,7 @@ target_to_xscale(struct target_s *target)
struct xscale_reg
{
int dbg_handler_number;
- target_t *target;
+ struct target *target;
};
enum