summaryrefslogtreecommitdiff
path: root/dtc-parser.y
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2008-06-25 13:53:07 +1000
committerJon Loeliger <jdl@jdl.com>2008-07-14 12:07:19 -0500
commit53359016caf6db9ab2347517a323d6ba8eb6671e (patch)
tree842a2883cc831aaab29db92a528d025d098cc4f3 /dtc-parser.y
parentf8e52fe6d87cadbaf0b440073fb9137bef36ee98 (diff)
downloaddtc-53359016caf6db9ab2347517a323d6ba8eb6671e.tar.gz
dtc: Use stdint.h types throughout dtc
Currently, dtc defines Linux-like names for various fixed-size integer types. There's no good reason to do this; even Linux itself doesn't use these names for externally visible things any more. This patch replaces these with the C99 standardized type names from stdint.h. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'dtc-parser.y')
-rw-r--r--dtc-parser.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/dtc-parser.y b/dtc-parser.y
index 8d04e49..b2ab562 100644
--- a/dtc-parser.y
+++ b/dtc-parser.y
@@ -39,10 +39,10 @@ static unsigned long long eval_literal(const char *s, int base, int bits);
char *literal;
char *labelref;
unsigned int cbase;
- u8 byte;
+ uint8_t byte;
struct data data;
- u64 addr;
+ uint64_t addr;
cell_t cell;
struct property *prop;
struct property *proplist;