reg_arch_type_t -> struct reg_arch_type

Remove misleading typedef and redundant suffix from struct reg_arch_type.
This commit is contained in:
Zachary T Welch
2009-11-13 08:44:18 -08:00
parent 74d09617b9
commit c2b5d8a6fa
4 changed files with 13 additions and 13 deletions

View File

@@ -54,13 +54,13 @@ struct reg_cache
int num_regs;
};
typedef struct reg_arch_type_s
struct reg_arch_type
{
int id;
int (*get)(reg_t *reg);
int (*set)(reg_t *reg, uint8_t *buf);
struct reg_arch_type_s *next;
} reg_arch_type_t;
struct reg_arch_type *next;
};
reg_t* register_get_by_name(struct reg_cache *first,
const char *name, bool search_all);
@@ -68,7 +68,7 @@ struct reg_cache** register_get_last_cache_p(struct reg_cache **first);
int register_reg_arch_type(int (*get)(reg_t *reg),
int (*set)(reg_t *reg, uint8_t *buf));
reg_arch_type_t* register_get_arch_type(int id);
struct reg_arch_type* register_get_arch_type(int id);
void register_init_dummy(reg_t *reg);