]> git.gag.com Git - fw/openocd/blobdiff - src/target/mips32_pracc.h
target/mips: Remove typedef'd struct
[fw/openocd] / src / target / mips32_pracc.h
index 911a69c5b0be3610b82ebaa6a05d2e0d634fc179..30edaec0a28a91806e954c544f54c8b55fca5e32 100644 (file)
 
 #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);