diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 08:44:08 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:12 -0800 |
commit | 74d09617b927ed7011098d5a65087dee1ef1e87a (patch) | |
tree | b73fe576548030923a72944b8f8a9e31bb9a342c /src/target/etb.c | |
parent | de3fb2f3bce2de5be44223204ce368216ed85b0f (diff) | |
download | riscv-openocd-74d09617b927ed7011098d5a65087dee1ef1e87a.zip riscv-openocd-74d09617b927ed7011098d5a65087dee1ef1e87a.tar.gz riscv-openocd-74d09617b927ed7011098d5a65087dee1ef1e87a.tar.bz2 |
reg_cache_t -> struct reg_cache
Remove misleading typedef and redundant suffix from struct reg_cache.
Diffstat (limited to 'src/target/etb.c')
-rw-r--r-- | src/target/etb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/etb.c b/src/target/etb.c index 44decfe..8f1c67a 100644 --- a/src/target/etb.c +++ b/src/target/etb.c @@ -121,9 +121,9 @@ static int etb_get_reg(reg_t *reg) return ERROR_OK; } -reg_cache_t* etb_build_reg_cache(etb_t *etb) +struct reg_cache* etb_build_reg_cache(etb_t *etb) { - 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 etb_reg *arch_info = NULL; int num_regs = 9; |