cleanup: include/: move misc/slist.h to sys/slist.h

move misc/slist.h to sys/slist.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>
This commit is contained in:
Anas Nashif 2019-06-26 10:33:52 -04:00
commit 536dd5a71f
31 changed files with 449 additions and 434 deletions

View file

@ -12,7 +12,7 @@ extern "C" {
#endif
#ifdef CONFIG_PTHREAD_IPC
#include <misc/slist.h>
#include <sys/slist.h>
#include <zephyr/types.h>
typedef u32_t pthread_once_t;