diff options
author | David Gibson <dgibson@sneetch.(none)> | 2005-07-11 16:49:52 +1000 |
---|---|---|
committer | David Gibson <dgibson@sneetch.(none)> | 2005-07-11 16:49:52 +1000 |
commit | 03a9b9dcdc29df37e40d08aaa80f3274ffd56354 (patch) | |
tree | a86fa9b43f0897b0690cd0f3d1ae06f9625541e5 | |
parent | 7ee3ffd43f6b45178c5e73e9b666a836ee333143 (diff) | |
download | dtc-03a9b9dcdc29df37e40d08aaa80f3274ffd56354.zip dtc-03a9b9dcdc29df37e40d08aaa80f3274ffd56354.tar.gz dtc-03a9b9dcdc29df37e40d08aaa80f3274ffd56354.tar.bz2 |
Use u8 instead of uint8_t, as we do with the other size types.
-rw-r--r-- | dtc-parser.y | 2 | ||||
-rw-r--r-- | dtc.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/dtc-parser.y b/dtc-parser.y index b2c45cd..e833627 100644 --- a/dtc-parser.y +++ b/dtc-parser.y @@ -30,7 +30,7 @@ extern struct node *device_tree; %union { cell_t cval; - uint8_t byte; + u8 byte; char *str; struct data data; struct property *prop; @@ -62,6 +62,7 @@ static inline void *xrealloc(void *p, size_t len) return new; } +typedef uint8_t u8; typedef uint16_t u16; typedef uint32_t u32; typedef uint64_t u64; |