zephyr/include/misc/libc-hooks.h
Anas Nashif 447311ec3e 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>
2019-06-27 22:55:49 -04:00

15 lines
364 B
C

/*
* Copyright (c) 2019 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_MISC_LIBC_HOOKS_H_
#define ZEPHYR_INCLUDE_MISC_LIBC_HOOKS_H_
#ifndef CONFIG_COMPAT_INCLUDES
#warning "This header file has moved, include <sys/libc-hooks.h> instead."
#endif
#include <sys/libc-hooks.h>
#endif /* ZEPHYR_INCLUDE_MISC_LIBC_HOOKS_H_ */