From de3fb2f3bce2de5be44223204ce368216ed85b0f Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Fri, 13 Nov 2009 08:43:51 -0800 Subject: [PATCH] bitfield_desc_t -> struct bitfield_desc Remove misleading typedef and redundant suffix from struct bitfield_desc. --- src/target/armv4_5.c | 2 +- src/target/armv7a.c | 2 +- src/target/register.h | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/target/armv4_5.c b/src/target/armv4_5.c index bde9e222..1c5db291 100644 --- a/src/target/armv4_5.c +++ b/src/target/armv4_5.c @@ -32,7 +32,7 @@ #include "binarybuffer.h" -bitfield_desc_t armv4_5_psr_bitfield_desc[] = +struct bitfield_desc armv4_5_psr_bitfield_desc[] = { {"M[4:0]", 5}, {"T", 1}, diff --git a/src/target/armv7a.c b/src/target/armv7a.c index 582e2e0d..c4b4c985 100644 --- a/src/target/armv7a.c +++ b/src/target/armv7a.c @@ -35,7 +35,7 @@ #include #include -bitfield_desc_t armv7a_psr_bitfield_desc[] = +struct bitfield_desc armv7a_psr_bitfield_desc[] = { {"M[4:0]", 5}, {"T", 1}, diff --git a/src/target/register.h b/src/target/register.h index 3af81cad..bc40d1fa 100644 --- a/src/target/register.h +++ b/src/target/register.h @@ -27,11 +27,11 @@ struct target_s; -typedef struct bitfield_desc_s +struct bitfield_desc { char *name; int num_bits; -} bitfield_desc_t; +}; typedef struct reg_s { @@ -40,7 +40,7 @@ typedef struct reg_s int dirty; int valid; uint32_t size; - bitfield_desc_t *bitfield_desc; + struct bitfield_desc *bitfield_desc; int num_bitfields; void *arch_info; int arch_type; -- 2.39.5