diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2008-06-25 13:53:07 +1000 |
---|---|---|
committer | Jon Loeliger <jdl@jdl.com> | 2008-07-14 12:07:19 -0500 |
commit | 53359016caf6db9ab2347517a323d6ba8eb6671e (patch) | |
tree | 842a2883cc831aaab29db92a528d025d098cc4f3 /livetree.c | |
parent | f8e52fe6d87cadbaf0b440073fb9137bef36ee98 (diff) | |
download | dtc-53359016caf6db9ab2347517a323d6ba8eb6671e.zip dtc-53359016caf6db9ab2347517a323d6ba8eb6671e.tar.gz dtc-53359016caf6db9ab2347517a323d6ba8eb6671e.tar.bz2 |
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 'livetree.c')
-rw-r--r-- | livetree.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -123,7 +123,8 @@ void add_child(struct node *parent, struct node *child) *p = child; } -struct reserve_info *build_reserve_entry(u64 address, u64 size, char *label) +struct reserve_info *build_reserve_entry(uint64_t address, uint64_t size, + char *label) { struct reserve_info *new = xmalloc(sizeof(*new)); @@ -165,7 +166,7 @@ struct reserve_info *add_reserve_entry(struct reserve_info *list, } struct boot_info *build_boot_info(struct reserve_info *reservelist, - struct node *tree, u32 boot_cpuid_phys) + struct node *tree, uint32_t boot_cpuid_phys) { struct boot_info *bi; |