From 2744a031cb333f4d1c2cd81171cbdafd6c780e1d Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Fri, 13 Nov 2009 08:41:35 -0800 Subject: [PATCH] armv7a_core_reg_t -> struct armv7a_core_reg Remove misleading typedef and redundant suffix from struct armv7a_core_reg. --- src/target/armv7a.c | 2 +- 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 1def12f7b..582e2e0d4 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 5a77befc0..42a25df88 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,