Skip to content

Commit 584c6c0

Browse files
committed
zephyr: remove version.h
No need to include version.h manually in files. Signed-off-by: Yong Cong Sin <[email protected]>
1 parent 657462d commit 584c6c0

File tree

11 files changed

+0
-11
lines changed

11 files changed

+0
-11
lines changed

kernel/banner.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#include <zephyr/kernel.h>
88
#include <zephyr/init.h>
99
#include <zephyr/device.h>
10-
#include <version.h>
1110

1211
#if defined(CONFIG_BOOT_DELAY) && (CONFIG_BOOT_DELAY > 0)
1312
#define DELAY_STR STRINGIFY(CONFIG_BOOT_DELAY)

lib/posix/uname.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
#include "version.h"
87
#include <string.h>
98
#include <zephyr/kernel.h>
109
#include <zephyr/net/hostname.h>

samples/subsys/shell/shell_module/src/main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
#include <zephyr/kernel.h>
88
#include <zephyr/shell/shell.h>
9-
#include <version.h>
109
#include <zephyr/logging/log.h>
1110
#include <stdlib.h>
1211
#include <zephyr/drivers/uart.h>

subsys/bluetooth/controller/hci/hci.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#include <stddef.h>
99
#include <string.h>
1010

11-
#include <version.h>
1211
#include <errno.h>
1312

1413
#include <zephyr/sys/util.h>

subsys/mgmt/mcumgr/grp/os_mgmt/src/os_mgmt.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232

3333
#ifdef CONFIG_MCUMGR_GRP_OS_INFO
3434
#include <stdio.h>
35-
#include <version.h>
3635
#include <os_mgmt_processor.h>
3736
#include <mgmt/mcumgr/util/zcbor_bulk.h>
3837
#if defined(CONFIG_NET_HOSTNAME_ENABLE)

subsys/net/l2/openthread/openthread.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ LOG_MODULE_REGISTER(net_l2_openthread, CONFIG_OPENTHREAD_L2_LOG_LEVEL);
1919
#include <zephyr/sys/slist.h>
2020
#include <zephyr/sys/util.h>
2121
#include <zephyr/sys/__assert.h>
22-
#include <version.h>
2322

2423
#include <openthread/cli.h>
2524
#include <openthread/ip6.h>

tests/kernel/common/src/main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#include <zephyr/ztest.h>
99
#include <zephyr/kernel_version.h>
1010
#include <zephyr/sys/speculation.h>
11-
#include "version.h"
1211

1312
/**
1413
* @defgroup kernel_common_tests Common Tests

tests/subsys/mgmt/mcumgr/cb_notifications/src/main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include <zcbor_decode.h>
1515
#include <zcbor_encode.h>
1616
#include <mgmt/mcumgr/util/zcbor_bulk.h>
17-
#include <version.h>
1817
#include <string.h>
1918
#include <smp_internal.h>
2019
#include "smp_test_util.h"

tests/subsys/mgmt/mcumgr/os_mgmt_info/src/build_date.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#include <zcbor_decode.h>
1919
#include <zcbor_encode.h>
2020
#include <mgmt/mcumgr/util/zcbor_bulk.h>
21-
#include <version.h>
2221
#include <smp_internal.h>
2322
#include "smp_test_util.h"
2423

tests/subsys/mgmt/mcumgr/os_mgmt_info/src/limited.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#include <zcbor_decode.h>
1818
#include <zcbor_encode.h>
1919
#include <mgmt/mcumgr/util/zcbor_bulk.h>
20-
#include <version.h>
2120
#include <string.h>
2221
#include <smp_internal.h>
2322
#include "smp_test_util.h"

0 commit comments

Comments
 (0)