summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/target/armv4_5.c2
-rw-r--r--src/target/armv7a.c2
-rw-r--r--src/target/register.h6
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 <string.h>
#include <unistd.h>
-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;