cleanup: include/: move misc/libc-hooks.h to sys/libc-hooks.h

move misc/libc-hooks.h to sys/libc-hooks.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:44 -04:00
commit 447311ec3e
6 changed files with 68 additions and 53 deletions

View file

@ -12,7 +12,7 @@
#include <misc/util.h>
#include <kernel_internal.h>
#include <sys/errno_private.h>
#include <misc/libc-hooks.h>
#include <sys/libc-hooks.h>
#include <syscall_handler.h>
#include <app_memory/app_memdomain.h>
#include <init.h>