Skip to content

Commit 877a4dd

Browse files
gmarullcarlescufi
authored andcommitted
include: namespace includes with app/ prefix
All example-application level includes will have the 'app' prefix, making ownership obvious and reducing the chances of namespacing clashes. This aligns with how Zephyr works with the 'zephyr' prefix. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent 85cf88e commit 877a4dd

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
File renamed without changes.

lib/custom_lib/custom_lib.c

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

7-
#include <custom_lib/custom_lib.h>
7+
#include <app/custom_lib/custom_lib.h>
88

99
int custom_lib_get_value(int return_value_if_nonzero)
1010
{

tests/lib/custom_lib/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
#include <zephyr/ztest.h>
1717

18-
#include <custom_lib/custom_lib.h>
18+
#include <app/custom_lib/custom_lib.h>
1919

2020
ZTEST(custom_lib, test_get_value)
2121
{

0 commit comments

Comments
 (0)