pass: Include resource header inside pass.c 40/280040/1
authorDongwoo Lee <dwoo08.lee@samsung.com>
Mon, 22 Aug 2022 23:27:57 +0000 (08:27 +0900)
committerDongwoo Lee <dwoo08.lee@samsung.com>
Mon, 22 Aug 2022 23:37:48 +0000 (08:37 +0900)
Currently resource.h is only used in pass.c, but it is included in
pass.h and it rather prevents using "delete" keyword due to be used
in haltests which is built by cpp compiler. So, this makes resource
header be only included in pass.c directly.

Change-Id: I3360ceb217ec5d95a75f17a65f2b39bf10e12af6
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
src/pass/pass.c
src/pass/pass.h

index a0c1a6e..112fa81 100644 (file)
@@ -37,6 +37,7 @@
 #include <util/device-notifier.h>
 #include <util/devices.h>
 #include <util/gdbus-util.h>
+#include <util/resource.h>
 
 #include "pass.h"
 #include "pass-parser.h"
index 89b31d3..509ed2b 100644 (file)
@@ -38,7 +38,6 @@
 
 #include <util/common.h>
 #include <util/log.h>
-#include <util/resource.h>
 
 #define PASS_LEVEL_COND_MAX    3