cleanup: include/: move misc/dlist.h to sys/dlist.h
move misc/dlist.h to sys/dlist.h and
create a shim for backward-compatibility.
No functional changes to the headers.
A warning in the shim can be controlled with CONFIG_COMPAT_INCLUDES.
Related to #16539
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
diff --git a/kernel/mailbox.c b/kernel/mailbox.c
index 4f61599..ea62948 100644
--- a/kernel/mailbox.c
+++ b/kernel/mailbox.c
@@ -15,7 +15,7 @@
#include <linker/sections.h>
#include <string.h>
#include <wait_q.h>
-#include <misc/dlist.h>
+#include <sys/dlist.h>
#include <init.h>
#if (CONFIG_NUM_MBOX_ASYNC_MSGS > 0)