Use u8 instead of uint8_t, as we do with the other size types.

main
David Gibson 2005-07-11 16:49:52 +10:00
parent 7ee3ffd43f
commit 03a9b9dcdc
2 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,7 @@ extern struct node *device_tree;


%union { %union {
cell_t cval; cell_t cval;
uint8_t byte; u8 byte;
char *str; char *str;
struct data data; struct data data;
struct property *prop; struct property *prop;

1
dtc.h
View File

@ -62,6 +62,7 @@ static inline void *xrealloc(void *p, size_t len)
return new; return new;
} }


typedef uint8_t u8;
typedef uint16_t u16; typedef uint16_t u16;
typedef uint32_t u32; typedef uint32_t u32;
typedef uint64_t u64; typedef uint64_t u64;