Commit 34dd9e70 authored by Gerard Marull-Paretas's avatar Gerard Marull-Paretas Committed by Andrzej Puzdrowski
Browse files

zephyr: use <zephyr/kernel.h>

<zephyr/zephyr.h> is just a shim to the <zephyr/kernel.h> header, better
use it directly as it is explicit that Kernel APIs are being included.

Signed-off-by: default avatarGerard Marull-Paretas <gerard@teslabs.com>
parent 3cd2cece
Loading
Loading
Loading
Loading
+1 −1
Changes for boot/zephyr/boot_serial_extensions.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 * SPDX-License-Identifier: Apache-2.0
 */

#include <zephyr/zephyr.h>
#include <zephyr/kernel.h>
#include <zephyr/drivers/flash.h>
#include <zephyr/mgmt/mcumgr/zephyr_groups.h>

+1 −1
Changes for boot/zephyr/flash_map_extended.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
 * SPDX-License-Identifier: Apache-2.0
 */

#include <zephyr/zephyr.h>
#include <zephyr/kernel.h>
#include <zephyr/devicetree.h>
#include <zephyr/drivers/flash.h>

+1 −1
Changes for boot/zephyr/hooks_sample.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
 */

#include <assert.h>
#include <zephyr/zephyr.h>
#include <zephyr/kernel.h>
#include "bootutil/image.h"
#include "bootutil/bootutil.h"
#include "bootutil/fault_injection_hardening.h"
+1 −1
Changes for boot/zephyr/main.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
 */

#include <assert.h>
#include <zephyr/zephyr.h>
#include <zephyr/kernel.h>
#include <zephyr/devicetree.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/sys/__assert.h>
+1 −1
Changes for boot/zephyr/os.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
 * under the License.
 */

#include <zephyr/zephyr.h>
#include <zephyr/kernel.h>
#include <string.h>

#include "os/os_heap.h"
Loading