summaryrefslogtreecommitdiff
path: root/src/target/armv4_5.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:41:14 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:10 -0800
commit2dd9c5e1da3a7e9152e7ca45fefc73363b509d5a (patch)
tree33146e46ae8ec3b0bd7b39c24a872d65d5661092 /src/target/armv4_5.h
parent15e8e4530866454c18c5d91ad9e867f339c2e82b (diff)
downloadopenocd+libswd-2dd9c5e1da3a7e9152e7ca45fefc73363b509d5a.tar.gz
openocd+libswd-2dd9c5e1da3a7e9152e7ca45fefc73363b509d5a.tar.bz2
openocd+libswd-2dd9c5e1da3a7e9152e7ca45fefc73363b509d5a.tar.xz
openocd+libswd-2dd9c5e1da3a7e9152e7ca45fefc73363b509d5a.zip
armv4_5_core_reg_t -> struct armv4_5_core_reg
Remove misleading typedef and redundant suffix from struct armv4_5_core_reg.
Diffstat (limited to 'src/target/armv4_5.h')
-rw-r--r--src/target/armv4_5.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/armv4_5.h b/src/target/armv4_5.h
index 22069d1b..3cc8937e 100644
--- a/src/target/armv4_5.h
+++ b/src/target/armv4_5.h
@@ -127,13 +127,13 @@ struct armv4_5_algorithm
enum armv4_5_state core_state;
};
-typedef struct armv4_5_core_reg_s
+struct armv4_5_core_reg
{
int num;
enum armv4_5_mode mode;
target_t *target;
armv4_5_common_t *armv4_5_common;
-} armv4_5_core_reg_t;
+};
reg_cache_t* armv4_5_build_reg_cache(target_t *target,
armv4_5_common_t *armv4_5_common);