summaryrefslogtreecommitdiff
path: root/src/target/mips32.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:43:33 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:11 -0800
commitccde06a08fbf9c4f57b321dbec0509f73239c2de (patch)
tree34516cf00c471e25a47327055afb720cc0812574 /src/target/mips32.h
parent3b7aee21b50f4bd0014878f29129ac33812faea3 (diff)
downloadopenocd+libswd-ccde06a08fbf9c4f57b321dbec0509f73239c2de.tar.gz
openocd+libswd-ccde06a08fbf9c4f57b321dbec0509f73239c2de.tar.bz2
openocd+libswd-ccde06a08fbf9c4f57b321dbec0509f73239c2de.tar.xz
openocd+libswd-ccde06a08fbf9c4f57b321dbec0509f73239c2de.zip
mips32_core_reg_t -> struct mips32_core_reg
Remove misleading typedef and redundant suffix from struct mips32_core_reg.
Diffstat (limited to 'src/target/mips32.h')
-rw-r--r--src/target/mips32.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/mips32.h b/src/target/mips32.h
index 870ff487..9fdb6053 100644
--- a/src/target/mips32.h
+++ b/src/target/mips32.h
@@ -66,12 +66,12 @@ struct mips32_common
int (*write_core_reg)(struct target_s *target, int num);
};
-typedef struct mips32_core_reg_s
+struct mips32_core_reg
{
uint32_t num;
struct target_s *target;
struct mips32_common *mips32_common;
-} mips32_core_reg_t;
+};
#define MIPS32_OP_BEQ 0x04
#define MIPS32_OP_BNE 0x05