[Crosstoolchain-logs] [device-tree-compiler] 345/357: dtc: Correct headers in util.c
Hector Oron
zumbi at moszumanska.debian.org
Thu Dec 8 17:06:30 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 8765874963852b2733777e69686251205238ad3d
Author: David Gibson <david at gibson.dropbear.id.au>
Date: Wed Mar 3 16:38:01 2010 +1100
dtc: Correct headers in util.c
Since util.c is used in programs other than full dtc, it shouldn't
include the full dtc.h, just util.h which has prototypes directly
relevant to it. This patch makes the change, and also adds includes
of the necessary system headers which were previously included
indirectly by dtc.h.
Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
---
util.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/util.c b/util.c
index c1d3ca4..d7ac27d 100644
--- a/util.c
+++ b/util.c
@@ -17,7 +17,12 @@
* USA
*/
-#include "dtc.h"
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdarg.h>
+#include <string.h>
+
+#include "util.h"
char *xstrdup(const char *s)
{
--
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