From 53359016caf6db9ab2347517a323d6ba8eb6671e Mon Sep 17 00:00:00 2001 From: David Gibson Date: Wed, 25 Jun 2008 13:53:07 +1000 Subject: 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 --- dtc-parser.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dtc-parser.y') 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; -- cgit v1.2.1