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

@@ -1961,7 +1961,7 @@ COMMAND_HANDLER(handle_reg_command)
if (reg->valid == 0)
{
reg_arch_type_t *arch_type = register_get_arch_type(reg->arch_type);
struct reg_arch_type *arch_type = register_get_arch_type(reg->arch_type);
arch_type->get(reg);
}
value = buf_to_str(reg->value, reg->size, 16);
@@ -1976,7 +1976,7 @@ COMMAND_HANDLER(handle_reg_command)
uint8_t *buf = malloc(CEIL(reg->size, 8));
str_to_buf(args[1], strlen(args[1]), buf, reg->size, 0);
reg_arch_type_t *arch_type = register_get_arch_type(reg->arch_type);
struct reg_arch_type *arch_type = register_get_arch_type(reg->arch_type);
arch_type->set(reg, buf);
value = buf_to_str(reg->value, reg->size, 16);