From 3b7aee21b50f4bd0014878f29129ac33812faea3 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Fri, 13 Nov 2009 08:43:30 -0800 Subject: mips32_common_t -> struct mips32_common Remove misleading typedef and redundant suffix from struct mips32_common. --- src/target/mips32.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/target/mips32.h') diff --git a/src/target/mips32.h b/src/target/mips32.h index 5398ddf7..870ff487 100644 --- a/src/target/mips32.h +++ b/src/target/mips32.h @@ -45,7 +45,7 @@ struct mips32_comparator uint32_t reg_address; }; -typedef struct mips32_common_s +struct mips32_common { uint32_t common_magic; void *arch_info; @@ -64,13 +64,13 @@ typedef struct mips32_common_s /* register cache to processor synchronization */ int (*read_core_reg)(struct target_s *target, int num); int (*write_core_reg)(struct target_s *target, int num); -} mips32_common_t; +}; typedef struct mips32_core_reg_s { uint32_t num; struct target_s *target; - mips32_common_t *mips32_common; + struct mips32_common *mips32_common; } mips32_core_reg_t; #define MIPS32_OP_BEQ 0x04 @@ -127,7 +127,7 @@ typedef struct mips32_core_reg_s int mips32_arch_state(struct target_s *target); int mips32_init_arch_info(target_t *target, - mips32_common_t *mips32, struct jtag_tap *tap); + struct mips32_common *mips32, struct jtag_tap *tap); int mips32_restore_context(target_t *target); int mips32_save_context(target_t *target); -- cgit v1.2.3