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

@ -8,7 +8,7 @@
#include <drivers/gpio.h>
#include <drivers/i2c.h>
#include <kernel.h>
#include <misc/byteorder.h>
#include <sys/byteorder.h>
#include <misc/util.h>
#include <drivers/sensor.h>
#include <sys/__assert.h>