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:
Anas Nashif 2019-06-26 10:33:39 -04:00
commit 5eb90ec169
149 changed files with 280 additions and 265 deletions

View file

@ -5,7 +5,7 @@
*/
#include <zephyr.h>
#include <misc/__assert.h>
#include <sys/__assert.h>
#include <kernel/zephyr/dpl/dpl.h>
#include <ti/drivers/dpl/ClockP.h>

View file

@ -6,7 +6,7 @@
#include <zephyr.h>
#include <misc/__assert.h>
#include <sys/__assert.h>
#include <kernel/zephyr/dpl/dpl.h>
#include <ti/drivers/dpl/HwiP.h>

View file

@ -5,7 +5,7 @@
*/
#include <zephyr.h>
#include <misc/__assert.h>
#include <sys/__assert.h>
#include <kernel/zephyr/dpl/dpl.h>
#include <ti/drivers/dpl/MutexP.h>

View file

@ -5,7 +5,7 @@
*/
#include <zephyr.h>
#include <misc/__assert.h>
#include <sys/__assert.h>
#include <kernel/zephyr/dpl/dpl.h>
#include <ti/drivers/dpl/SemaphoreP.h>

View file

@ -12,7 +12,7 @@
#include <device.h>
#include <init.h>
#include <misc/util.h>
#include <misc/__assert.h>
#include <sys/__assert.h>
#include <inc/hw_types.h>
#include <inc/hw_ints.h>