bitfield_desc_t -> struct bitfield_desc

Remove misleading typedef and redundant suffix from struct bitfield_desc.
This commit is contained in:
Zachary T Welch 2009-11-13 08:43:51 -08:00
parent f4e03e3b90
commit de3fb2f3bc
3 changed files with 5 additions and 5 deletions

View File

@ -32,7 +32,7 @@
#include "binarybuffer.h" #include "binarybuffer.h"
bitfield_desc_t armv4_5_psr_bitfield_desc[] = struct bitfield_desc armv4_5_psr_bitfield_desc[] =
{ {
{"M[4:0]", 5}, {"M[4:0]", 5},
{"T", 1}, {"T", 1},

View File

@ -35,7 +35,7 @@
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
bitfield_desc_t armv7a_psr_bitfield_desc[] = struct bitfield_desc armv7a_psr_bitfield_desc[] =
{ {
{"M[4:0]", 5}, {"M[4:0]", 5},
{"T", 1}, {"T", 1},

View File

@ -27,11 +27,11 @@
struct target_s; struct target_s;
typedef struct bitfield_desc_s struct bitfield_desc
{ {
char *name; char *name;
int num_bits; int num_bits;
} bitfield_desc_t; };
typedef struct reg_s typedef struct reg_s
{ {
@ -40,7 +40,7 @@ typedef struct reg_s
int dirty; int dirty;
int valid; int valid;
uint32_t size; uint32_t size;
bitfield_desc_t *bitfield_desc; struct bitfield_desc *bitfield_desc;
int num_bitfields; int num_bitfields;
void *arch_info; void *arch_info;
int arch_type; int arch_type;