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

move misc/printk.h to sys/printk.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:49 -04:00
commit 9ab2a56751
258 changed files with 355 additions and 340 deletions

View file

@ -8,7 +8,7 @@
#include <ctype.h>
#include <errno.h>
#include <limits.h>
#include <misc/printk.h>
#include <sys/printk.h>
#include <misc/util.h>
#include <stdbool.h>
#include <stdlib.h>