summaryrefslogtreecommitdiff
path: root/dtc.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2012-07-08 23:25:21 +1000
committerJon Loeliger <jdl@jdl.com>2012-07-08 13:45:13 -0500
commit511dedd40f0372cd7c85e3d4c66553f5829142b7 (patch)
tree6d12388962079e26a0f2c4cadd1fc888427106a8 /dtc.h
parentf67dfe845930b32ea14df6ff18d69799828a5909 (diff)
downloaddtc-511dedd40f0372cd7c85e3d4c66553f5829142b7.tar.gz
Re-work level setting on checks code
Currently each of the semantic checks in checks.c has a "level" between IGNORE and ERROR. This single level makes it awkward to implement the semantics we want for toggling the checks on the command line. This patch reworks the code to instead have separate boolean flags for warning and error. At present having both flags set will have the same effect as having just the error flag set, but this can change in the future. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'dtc.h')
-rw-r--r--dtc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dtc.h b/dtc.h
index 7b4c65b..d57fbfc 100644
--- a/dtc.h
+++ b/dtc.h
@@ -25,6 +25,7 @@
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
+#include <stdbool.h>
#include <stdarg.h>
#include <assert.h>
#include <ctype.h>