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

@ -11,7 +11,7 @@
#include <errno.h>
#include <stdbool.h>
#include <sys/atomic.h>
#include <misc/byteorder.h>
#include <sys/byteorder.h>
#include <misc/util.h>
#include <misc/slist.h>
#include <misc/stack.h>