Skip to content

Commit d6de29c

Browse files
stephanosiocarlescufi
authored andcommitted
tests: kernel: thread_apis: Migrate to K_THREAD_STACK_DECLARE
This commit updates all deprecated `K_THREAD_STACK_EXTERN` macro usages to use the `K_THREAD_STACK_DECLARE` macro instead. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent 0b0d21e commit d6de29c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/kernel/threads/thread_apis/src/tests_thread_apis.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ extern "C" {
1414
#endif
1515

1616
#define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE)
17-
K_THREAD_STACK_EXTERN(tstack);
17+
K_THREAD_STACK_DECLARE(tstack, STACK_SIZE);
1818
extern size_t tstack_size;
1919
extern struct k_thread tdata;
2020

0 commit comments

Comments
 (0)