From: Zachary T Welch Date: Fri, 13 Nov 2009 16:41:35 +0000 (-0800) Subject: armv7a_core_reg_t -> struct armv7a_core_reg X-Git-Tag: v0.4.0-rc1~678 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=2744a031cb333f4d1c2cd81171cbdafd6c780e1d armv7a_core_reg_t -> struct armv7a_core_reg Remove misleading typedef and redundant suffix from struct armv7a_core_reg. --- diff --git a/src/target/armv7a.c b/src/target/armv7a.c index 1def12f7b3..582e2e0d49 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 5a77befc0d..42a25df88d 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,