Skip to content
Permalink
Browse files

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>
  • Loading branch information...
nashif committed Jun 26, 2019
1 parent 5c0516b commit 536dd5a71f2d07e70671a6e2a30a7320bb861330
@@ -26,7 +26,7 @@
#include <soc.h>
#include <sys/sys_io.h>
#include <sys/__assert.h>
#include <misc/slist.h>
#include <sys/slist.h>
#include <misc/speculation.h>

#include "gpio_utils.h"
@@ -14,7 +14,7 @@
extern "C" {
#endif

#include <misc/slist.h>
#include <sys/slist.h>

/* Error codes for Error response PDU */
#define BT_ATT_ERR_INVALID_HANDLE 0x01
@@ -13,7 +13,7 @@
#include <stddef.h>
#include <device.h>
#include <sys/__assert.h>
#include <misc/slist.h>
#include <sys/slist.h>

#ifdef __cplusplus
extern "C" {
@@ -14,7 +14,7 @@
#define ZEPHYR_INCLUDE_DRIVERS_GPIO_H_

#include <sys/__assert.h>
#include <misc/slist.h>
#include <sys/slist.h>

#include <zephyr/types.h>
#include <stddef.h>
@@ -22,7 +22,7 @@
#include <sys/__assert.h>
#include <sched_priq.h>
#include <sys/dlist.h>
#include <misc/slist.h>
#include <sys/slist.h>
#include <sys/sflist.h>
#include <misc/util.h>
#include <sys/mempool_base.h>

0 comments on commit 536dd5a

Please sign in to comment.
You can’t perform that action at this time.