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
|
@ -34,7 +34,7 @@ static inline void z_arch_irq_unlock(int key)
|
|||
*/
|
||||
#if (CONFIG_FLASH_SIZE == 0) || (CONFIG_FLASH_SIZE > 32)
|
||||
#if defined(CONFIG_ASSERT) && (CONFIG_MP_NUM_CPUS < 4)
|
||||
#include <misc/__assert.h>
|
||||
#include <sys/__assert.h>
|
||||
#include <stdbool.h>
|
||||
struct k_spinlock;
|
||||
bool z_spin_lock_valid(struct k_spinlock *l);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue