reg_cache_t -> struct reg_cache

Remove misleading typedef and redundant suffix from struct reg_cache.
This commit is contained in:
Zachary T Welch
2009-11-13 08:44:08 -08:00
parent de3fb2f3bc
commit 74d09617b9
27 changed files with 57 additions and 57 deletions

View File

@@ -639,7 +639,7 @@ static void arm7tdmi_branch_resume_thumb(target_t *target)
static void arm7tdmi_build_reg_cache(target_t *target)
{
reg_cache_t **cache_p = register_get_last_cache_p(&target->reg_cache);
struct reg_cache **cache_p = register_get_last_cache_p(&target->reg_cache);
struct armv4_5_common_s *armv4_5 = target_to_armv4_5(target);
(*cache_p) = armv4_5_build_reg_cache(target, armv4_5);
@@ -655,8 +655,8 @@ int arm7tdmi_examine(struct target_s *target)
if (!target_was_examined(target))
{
/* get pointers to arch-specific information */
reg_cache_t **cache_p = register_get_last_cache_p(&target->reg_cache);
reg_cache_t *t = embeddedice_build_reg_cache(target, arm7_9);
struct reg_cache **cache_p = register_get_last_cache_p(&target->reg_cache);
struct reg_cache *t = embeddedice_build_reg_cache(target, arm7_9);
if (t == NULL)
return ERROR_FAIL;