kernel: make sure that _thread_entry() declaration matches with definition
Fixes sparse warning: CHECK <snip>/zephyr/kernel/thread.c <snip>/zephyr/kernel/thread.c:184:20: error: symbol '_thread_entry' redeclared with different type (originally declared at <snip>/zephyr/kernel/include/nano_internal.h:43) - different modifiers CC kernel/thread.o Change-Id: I2223493cdf97c811c661773f8fd430e6c00cbaa0 Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
This commit is contained in:
parent
4fef76082a
commit
ed016fa9a0
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ static inline void _data_copy(void)
|
|||
#endif
|
||||
FUNC_NORETURN void _Cstart(void);
|
||||
|
||||
extern void _thread_entry(void (*)(void *, void *, void *),
|
||||
extern FUNC_NORETURN void _thread_entry(void (*)(void *, void *, void *),
|
||||
void *, void *, void *);
|
||||
|
||||
extern void _new_thread(struct k_thread *thread, char *pStack, size_t stackSize,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue