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

move misc/util.h to sys/util.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:55 -04:00
commit a2fd7d70ec
295 changed files with 1103 additions and 1088 deletions

View file

@ -19,7 +19,7 @@
#include <device.h>
#include <errno.h>
#include <misc/util.h>
#include <sys/util.h>
#include <sys/__assert.h>
#include "cipher_structs.h"

View file

@ -18,7 +18,7 @@
#define ZEPHYR_INCLUDE_CRYPTO_CIPHER_STRUCTS_H_
#include <device.h>
#include <misc/util.h>
#include <sys/util.h>
enum cipher_algo {
CRYPTO_CIPHER_ALGO_AES = 1,