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

@ -46,7 +46,7 @@ extern "C" {
#define CONFIG_PRINTK 1
#endif
#include <misc/printk.h>
#include <sys/printk.h>
#define PRINT printk
#include <zephyr.h>