From 74d09617b927ed7011098d5a65087dee1ef1e87a Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Fri, 13 Nov 2009 08:44:08 -0800 Subject: reg_cache_t -> struct reg_cache Remove misleading typedef and redundant suffix from struct reg_cache. --- src/target/etm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/target/etm.c') diff --git a/src/target/etm.c b/src/target/etm.c index 9952279d..118fe12d 100644 --- a/src/target/etm.c +++ b/src/target/etm.c @@ -231,7 +231,7 @@ static command_t *etm_cmd; */ static reg_t *etm_reg_lookup(etm_context_t *etm_ctx, unsigned id) { - reg_cache_t *cache = etm_ctx->reg_cache; + struct reg_cache *cache = etm_ctx->reg_cache; int i; for (i = 0; i < cache->num_regs; i++) { @@ -248,7 +248,7 @@ static reg_t *etm_reg_lookup(etm_context_t *etm_ctx, unsigned id) } static void etm_reg_add(unsigned bcd_vers, struct arm_jtag *jtag_info, - reg_cache_t *cache, struct etm_reg *ereg, + struct reg_cache *cache, struct etm_reg *ereg, const struct etm_reg_info *r, unsigned nreg) { reg_t *reg = cache->reg_list; @@ -279,10 +279,10 @@ static void etm_reg_add(unsigned bcd_vers, struct arm_jtag *jtag_info, } } -reg_cache_t *etm_build_reg_cache(target_t *target, +struct reg_cache *etm_build_reg_cache(target_t *target, struct arm_jtag *jtag_info, etm_context_t *etm_ctx) { - reg_cache_t *reg_cache = malloc(sizeof(reg_cache_t)); + struct reg_cache *reg_cache = malloc(sizeof(struct reg_cache)); reg_t *reg_list = NULL; struct etm_reg *arch_info = NULL; unsigned bcd_vers, config; -- cgit v1.2.3