summaryrefslogtreecommitdiff
path: root/src/target/mips32.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:44:08 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:12 -0800
commit74d09617b927ed7011098d5a65087dee1ef1e87a (patch)
treeb73fe576548030923a72944b8f8a9e31bb9a342c /src/target/mips32.c
parentde3fb2f3bce2de5be44223204ce368216ed85b0f (diff)
downloadopenocd+libswd-74d09617b927ed7011098d5a65087dee1ef1e87a.tar.gz
openocd+libswd-74d09617b927ed7011098d5a65087dee1ef1e87a.tar.bz2
openocd+libswd-74d09617b927ed7011098d5a65087dee1ef1e87a.tar.xz
openocd+libswd-74d09617b927ed7011098d5a65087dee1ef1e87a.zip
reg_cache_t -> struct reg_cache
Remove misleading typedef and redundant suffix from struct reg_cache.
Diffstat (limited to 'src/target/mips32.c')
-rw-r--r--src/target/mips32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/mips32.c b/src/target/mips32.c
index 48fb7a38..ddc27a66 100644
--- a/src/target/mips32.c
+++ b/src/target/mips32.c
@@ -271,14 +271,14 @@ int mips32_arch_state(struct target_s *target)
return ERROR_OK;
}
-reg_cache_t *mips32_build_reg_cache(target_t *target)
+struct reg_cache *mips32_build_reg_cache(target_t *target)
{
/* get pointers to arch-specific information */
struct mips32_common *mips32 = target->arch_info;
int num_regs = MIPS32NUMCOREREGS;
- reg_cache_t **cache_p = register_get_last_cache_p(&target->reg_cache);
- reg_cache_t *cache = malloc(sizeof(reg_cache_t));
+ struct reg_cache **cache_p = register_get_last_cache_p(&target->reg_cache);
+ struct reg_cache *cache = malloc(sizeof(struct reg_cache));
reg_t *reg_list = malloc(sizeof(reg_t) * num_regs);
struct mips32_core_reg *arch_info = malloc(sizeof(struct mips32_core_reg) * num_regs);
int i;