diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 09:52:20 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 11:58:13 -0800 |
commit | ac927559c3ce5406adac34b9d4ca4ecb37a48181 (patch) | |
tree | c80df94596067ffbbf47225aa1ff2570473fb256 /src/target/target.h | |
parent | d64a873db44258470b50f370f2c8af71157952d0 (diff) | |
download | riscv-openocd-ac927559c3ce5406adac34b9d4ca4ecb37a48181.zip riscv-openocd-ac927559c3ce5406adac34b9d4ca4ecb37a48181.tar.gz riscv-openocd-ac927559c3ce5406adac34b9d4ca4ecb37a48181.tar.bz2 |
target_type_t -> struct target_type
Remove misleading typedef and redundant suffix from struct target_type.
Diffstat (limited to 'src/target/target.h')
-rw-r--r-- | src/target/target.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/target/target.h b/src/target/target.h index 3eafc18..50e8c62 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -124,13 +124,10 @@ struct working_area struct working_area *next; }; -// target_type.h contains the full definitionof struct target_type_s -struct target_type_s; -typedef struct target_type_s target_type_t; - +// target_type.h contains the full definitionof struct target_type typedef struct target_s { - target_type_t *type; /* target type definition (name, access functions) */ + struct target_type *type; /* target type definition (name, access functions) */ const char *cmd_name; /* tcl Name of target */ int target_number; /* DO NOT USE! field to be removed in 2010 */ struct jtag_tap *tap; /* where on the jtag chain is this */ |