[Crosstoolchain-logs] [device-tree-compiler] 11/357: Use u8 instead of uint8_t, as we do with the other size types.
Hector Oron
zumbi at moszumanska.debian.org
Thu Dec 8 17:05:42 UTC 2016
This is an automated email from the git hooks/post-receive script.
zumbi pushed a commit to branch upstream/1.3.x
in repository device-tree-compiler.
commit 03a9b9dcdc29df37e40d08aaa80f3274ffd56354
Author: David Gibson <dgibson at sneetch.(none)>
Date: Mon Jul 11 16:49:52 2005 +1000
Use u8 instead of uint8_t, as we do with the other size types.
---
dtc-parser.y | 2 +-
dtc.h | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
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;
diff --git a/dtc.h b/dtc.h
index 27a4852..93c3e60 100644
--- a/dtc.h
+++ b/dtc.h
@@ -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;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git
More information about the Crosstoolchain-logs
mailing list