target/mips: Remove typedef'd struct
The C style guide forbids typedef'd structs, see 'Naming Rules'. Change-Id: I449590251056c478c05105cdc18014ab4eb77ed8 Signed-off-by: Marc Schink <dev@zapb.de> Reviewed-on: http://openocd.zylin.com/6033 Tested-by: jenkins Reviewed-by: Oleksij Rempel <linux@rempel-privat.de> Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
committed by
Antonio Borneo
parent
5fd78b0523
commit
02abae8cdf
@@ -317,7 +317,7 @@ void pracc_add(struct pracc_queue_info *ctx, uint32_t addr, uint32_t instr)
|
||||
if (ctx->retval != ERROR_OK) /* On previous out of memory, return */
|
||||
return;
|
||||
if (ctx->code_count == ctx->max_code) {
|
||||
void *p = realloc(ctx->pracc_list, sizeof(pa_list) * (ctx->max_code + PRACC_BLOCK));
|
||||
void *p = realloc(ctx->pracc_list, sizeof(struct pa_list) * (ctx->max_code + PRACC_BLOCK));
|
||||
if (p) {
|
||||
ctx->max_code += PRACC_BLOCK;
|
||||
ctx->pracc_list = p;
|
||||
|
||||
Reference in New Issue
Block a user