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 a0c1a6ed48ddba1629dfc42b0dcaaf9c0072495c..112fa81a3ac2f46e93bf7217234bf3328ca442fd 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 89b31d35868940e6bb11aa20b036c4341bbe1e87..509ed2b18231f00d511be782b9a6cfba7549343a 100644 (file)
@@ -38,7 +38,6 @@
 
 #include <util/common.h>
 #include <util/log.h>
-#include <util/resource.h>
 
 #define PASS_LEVEL_COND_MAX    3