diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 08:41:35 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:10 -0800 |
commit | 2744a031cb333f4d1c2cd81171cbdafd6c780e1d (patch) | |
tree | aa1c9ed76ebb214914db5d1abc8cfcdd6d53d90f | |
parent | 5415d07139faeb2541127d5a7bcedef833b79de3 (diff) | |
download | openocd+libswd-2744a031cb333f4d1c2cd81171cbdafd6c780e1d.tar.gz openocd+libswd-2744a031cb333f4d1c2cd81171cbdafd6c780e1d.tar.bz2 openocd+libswd-2744a031cb333f4d1c2cd81171cbdafd6c780e1d.tar.xz openocd+libswd-2744a031cb333f4d1c2cd81171cbdafd6c780e1d.zip |
armv7a_core_reg_t -> struct armv7a_core_reg
Remove misleading typedef and redundant suffix from struct armv7a_core_reg.
-rw-r--r-- | src/target/armv7a.c | 2 | ||||
-rw-r--r-- | src/target/armv7a.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/target/armv7a.c b/src/target/armv7a.c index 1def12f7..582e2e0d 100644 --- a/src/target/armv7a.c +++ b/src/target/armv7a.c @@ -82,7 +82,7 @@ char* armv7a_state_strings[] = "ARM", "Thumb", "Jazelle", "ThumbEE" }; -armv7a_core_reg_t armv7a_core_reg_list_arch_info[] = +struct armv7a_core_reg armv7a_core_reg_list_arch_info[] = { {0, ARMV4_5_MODE_ANY, NULL, NULL}, {1, ARMV4_5_MODE_ANY, NULL, NULL}, diff --git a/src/target/armv7a.h b/src/target/armv7a.h index 5a77befc..42a25df8 100644 --- a/src/target/armv7a.h +++ b/src/target/armv7a.h @@ -141,13 +141,13 @@ struct armv7a_algorithm enum armv7a_state core_state; }; -typedef struct armv7a_core_reg_s +struct armv7a_core_reg { int num; enum armv7a_mode mode; target_t *target; struct armv7a_common *armv7a_common; -} armv7a_core_reg_t; +}; int armv7a_arch_state(struct target_s *target); reg_cache_t *armv7a_build_reg_cache(target_t *target, |