samples/eth_ivshmem: Switch main return type to int.
Zephyr now requires that main return int instead of void. Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
35f445c247
commit
c09618cf63
|
@ -6,8 +6,10 @@
|
|||
|
||||
#include <zephyr/kernel.h>
|
||||
|
||||
void main(void)
|
||||
int main(void)
|
||||
{
|
||||
/* This sample uses the shell */
|
||||
k_sleep(K_FOREVER);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue