summaryrefslogtreecommitdiff
path: root/src/target/armv7m.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:41:46 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:10 -0800
commit94f5ed90f1832e81803713f4364de586a69247d4 (patch)
tree7e8ea8895a5f976c8bb721c7bfd497129afb2038 /src/target/armv7m.h
parent5e43565ab543b1ceff4cc8030434a54ac28dd875 (diff)
downloadopenocd+libswd-94f5ed90f1832e81803713f4364de586a69247d4.tar.gz
openocd+libswd-94f5ed90f1832e81803713f4364de586a69247d4.tar.bz2
openocd+libswd-94f5ed90f1832e81803713f4364de586a69247d4.tar.xz
openocd+libswd-94f5ed90f1832e81803713f4364de586a69247d4.zip
armv7m_core_reg_t -> struct armv7m_core_reg
Remove misleading typedef and redundant suffix from struct armv7m_core_reg.
Diffstat (limited to 'src/target/armv7m.h')
-rw-r--r--src/target/armv7m.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/armv7m.h b/src/target/armv7m.h
index 6e857ee4..43ec5632 100644
--- a/src/target/armv7m.h
+++ b/src/target/armv7m.h
@@ -126,13 +126,13 @@ struct armv7m_algorithm
enum armv7m_mode core_mode;
};
-typedef struct armv7m_core_reg_s
+struct armv7m_core_reg
{
uint32_t num;
enum armv7m_regtype type;
target_t *target;
struct armv7m_common *armv7m_common;
-} armv7m_core_reg_t;
+};
reg_cache_t *armv7m_build_reg_cache(target_t *target);
enum armv7m_mode armv7m_number_to_mode(int number);