From 511dedd40f0372cd7c85e3d4c66553f5829142b7 Mon Sep 17 00:00:00 2001 From: David Gibson Date: Sun, 8 Jul 2012 23:25:21 +1000 Subject: 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 --- dtc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'dtc.h') diff --git a/dtc.h b/dtc.h index 7b4c65b..d57fbfc 100644 --- a/dtc.h +++ b/dtc.h @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.1