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:
Marc Schink
2021-01-26 09:15:47 +01:00
committed by Antonio Borneo
parent 5fd78b0523
commit 02abae8cdf
4 changed files with 10 additions and 10 deletions

View File

@@ -47,10 +47,10 @@
#define PRACC_BLOCK 128 /* 1 Kbyte */
typedef struct {
struct pa_list {
uint32_t instr;
uint32_t addr;
} pa_list;
};
struct pracc_queue_info {
struct mips_ejtag *ejtag_info;
@@ -59,7 +59,7 @@ struct pracc_queue_info {
int code_count;
int store_count;
int max_code; /* max instructions with currently allocated memory */
pa_list *pracc_list; /* Code and store addresses at dmseg */
struct pa_list *pracc_list; /* Code and store addresses at dmseg */
};
void pracc_queue_init(struct pracc_queue_info *ctx);