7f2ad2e27d
Deprecate <zephyr/zephyr.h> in favor of <zephyr/kernel.h> since they are equivalents (zephyr/zephyr.h is just a shim). Do not warn about deprecation if already using the deprecated CONFIG_LEGACY_INCLUDE_PATH option. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
17 lines
344 B
C
17 lines
344 B
C
/*
|
|
* Copyright (c) 2015 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef ZEPHYR_INCLUDE_ZEPHYR_H_
|
|
#define ZEPHYR_INCLUDE_ZEPHYR_H_
|
|
|
|
#include <zephyr/kernel.h>
|
|
|
|
#ifndef CONFIG_LEGACY_INCLUDE_PATH
|
|
#warning "<zephyr/zephyr.h> is deprecated, include <zephyr/kernel.h> instead"
|
|
#endif
|
|
|
|
#endif /* ZEPHYR_INCLUDE_ZEPHYR_H_ */
|