cleanup: include/: move misc/stack.h to debug/stack.h

move misc/stack.h to debug/stack.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:42:45 -04:00
commit efb8df5366
21 changed files with 116 additions and 101 deletions

View file

@ -187,7 +187,7 @@ struct net_stack_info {
#define NET_STACK_DEFINE_EMBEDDED(name, size) char name[size]
#if defined(CONFIG_INIT_STACKS)
#include <misc/stack.h>
#include <debug/stack.h>
static inline void net_analyze_stack_get_values(const char *stack,
size_t size,