Remove misleading typedef and redundant suffix from struct bitfield_desc.
#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},
#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},
struct target_s;
-typedef struct bitfield_desc_s
+struct bitfield_desc
{
char *name;
int num_bits;
-} bitfield_desc_t;
+};
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;