cleanup: include/: move misc/__assert.h to sys/__assert.h
move misc/__assert.h to sys/__assert.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:
parent
7435e5e089
commit
5eb90ec169
149 changed files with 280 additions and 265 deletions
|
@ -44,7 +44,7 @@ extern "C" {
|
|||
#define NET_WARN(fmt, ...) LOG_WRN(fmt, ##__VA_ARGS__)
|
||||
#define NET_INFO(fmt, ...) LOG_INF(fmt, ##__VA_ARGS__)
|
||||
|
||||
#include <misc/__assert.h>
|
||||
#include <sys/__assert.h>
|
||||
|
||||
#define NET_ASSERT(cond) __ASSERT_NO_MSG(cond)
|
||||
#define NET_ASSERT_INFO(cond, fmt, ...) __ASSERT(cond, fmt, ##__VA_ARGS__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue