summaryrefslogtreecommitdiff
path: root/src/target/arm9tdmi.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:44:08 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:12 -0800
commit74d09617b927ed7011098d5a65087dee1ef1e87a (patch)
treeb73fe576548030923a72944b8f8a9e31bb9a342c /src/target/arm9tdmi.c
parentde3fb2f3bce2de5be44223204ce368216ed85b0f (diff)
downloadopenocd+libswd-74d09617b927ed7011098d5a65087dee1ef1e87a.tar.gz
openocd+libswd-74d09617b927ed7011098d5a65087dee1ef1e87a.tar.bz2
openocd+libswd-74d09617b927ed7011098d5a65087dee1ef1e87a.tar.xz
openocd+libswd-74d09617b927ed7011098d5a65087dee1ef1e87a.zip
reg_cache_t -> struct reg_cache
Remove misleading typedef and redundant suffix from struct reg_cache.
Diffstat (limited to 'src/target/arm9tdmi.c')
-rw-r--r--src/target/arm9tdmi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/arm9tdmi.c b/src/target/arm9tdmi.c
index 897563cc..5e034934 100644
--- a/src/target/arm9tdmi.c
+++ b/src/target/arm9tdmi.c
@@ -735,7 +735,7 @@ void arm9tdmi_disable_single_step(target_t *target)
static void arm9tdmi_build_reg_cache(target_t *target)
{
- reg_cache_t **cache_p = register_get_last_cache_p(&target->reg_cache);
+ struct reg_cache **cache_p = register_get_last_cache_p(&target->reg_cache);
struct armv4_5_common_s *armv4_5 = target_to_armv4_5(target);
(*cache_p) = armv4_5_build_reg_cache(target, armv4_5);
@@ -749,8 +749,8 @@ int arm9tdmi_examine(struct target_s *target)
if (!target_was_examined(target))
{
- reg_cache_t **cache_p = register_get_last_cache_p(&target->reg_cache);
- reg_cache_t *t;
+ struct reg_cache **cache_p = register_get_last_cache_p(&target->reg_cache);
+ struct reg_cache *t;
/* one extra register (vector catch) */
t = embeddedice_build_reg_cache(target, arm7_9);
if (t == NULL)