tests/benchmarks/sys_kernel: Use K_THREAD_STACK_EXTERN in header file

K_THREAD_STACK_DEFINE is not correct in a header file as it may conflict
with K_THREAD_STACK_DEFINE usage in the source file.

Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Keith Packard 2022-05-10 09:56:40 -07:00 committed by Anas Nashif
parent b9313cab1b
commit 7955624d1f

View file

@ -22,8 +22,8 @@
#endif
extern K_THREAD_STACK_DEFINE(thread_stack1, STACK_SIZE);
extern K_THREAD_STACK_DEFINE(thread_stack2, STACK_SIZE);
K_THREAD_STACK_EXTERN(thread_stack1);
K_THREAD_STACK_EXTERN(thread_stack2);
extern struct k_thread thread_data1;
extern struct k_thread thread_data2;