commit | b2b4990bbf03a1b9def187cbc37488eed66a182c | [log] [tgz] |
---|---|---|
author | David Gibson <david@gibson.dropbear.id.au> | Mon Jan 05 12:50:23 2009 +1100 |
committer | Jon Loeliger <jdl@example.com> | Wed Jan 07 09:46:04 2009 -0600 |
tree | e2804549856de22dda0d8fa0d6d931d08c380357 | |
parent | 75bdd849dc3083038113791c4050746999d60989 [diff] |
dtc: Move some functions to util.[ch] Now that we have a util.[ch] file shared between dtc and convert-dtsv0, move some functions which are currently duplicated in the two to util files. Specifically we move the die(), xmalloc() and xrealloc() functions. While we're at it, add standard double-include protection to util.h Signed-off-by: David Gibson <david@gibson.dropbear.id.au>