target_type_t -> struct target_type

Remove misleading typedef and redundant suffix from struct target_type.
This commit is contained in:
Zachary T Welch
2009-11-13 09:52:20 -08:00
parent d64a873db4
commit ac927559c3
18 changed files with 38 additions and 41 deletions

View File

@@ -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 */