diff --git a/samples/drivers/ethernet/eth_ivshmem/src/main.c b/samples/drivers/ethernet/eth_ivshmem/src/main.c index 3c9711a9ff..bd5f7fae22 100644 --- a/samples/drivers/ethernet/eth_ivshmem/src/main.c +++ b/samples/drivers/ethernet/eth_ivshmem/src/main.c @@ -6,8 +6,10 @@ #include -void main(void) +int main(void) { /* This sample uses the shell */ k_sleep(K_FOREVER); + + return 0; }