resource-memory-lmk: Exclude syscommon-plugin-resourced-memory-lmk.h header 82/298282/1
authorUnsung Lee <unsung.lee@samsung.com>
Tue, 5 Sep 2023 01:47:52 +0000 (10:47 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Tue, 5 Sep 2023 01:48:00 +0000 (10:48 +0900)
Exclude <system/syscommon-plugin-resourced-memory-lmk.h> header file in
LMK backend to follow rule between libsyscommon and plugin backend.

*.h can be only referenced from resourced. Therefore, resourced backend
cannot reference header file from *.h. Instead, resourced backend can
reference *-interface.h.

Change-Id: I971ee3b2832682a066641151506bfb2ba6e5fa1a
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
src/resourced-memory-lmk/resourced-memory-lmk.c

index f43f6d21fd3e91896493a03192785be0b7513a3f..bfed2a36fd3b7e74963fea37f4fa66c3d8f7fcd1 100644 (file)
@@ -22,7 +22,6 @@
 #include <stdbool.h>
 
 #include <system/syscommon-plugin-common-interface.h>
-#include <system/syscommon-plugin-resourced-memory-lmk.h>
 #include <system/syscommon-plugin-resourced-memory-lmk-interface.h>
 
 #include "common.h"