cleanup: include/: move misc/byteorder.h to sys/byteorder.h

move misc/byteorder.h to sys/byteorder.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:41 -04:00
commit 5d001f3e41
162 changed files with 492 additions and 477 deletions

View file

@ -15,7 +15,7 @@
#include <init.h>
#include <sys/__assert.h>
#include <misc/byteorder.h>
#include <sys/byteorder.h>
#include <dfu/mcuboot.h>
/*