zephyr: hello_world: Fix the main() return type warning

Fixes the "return type of 'main' is not 'int'" warning.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
This commit is contained in:
Andrej Butok 2024-10-04 12:48:08 +02:00 committed by Jamie
parent 63fa7e45a2
commit a5e3d16326
1 changed files with 2 additions and 1 deletions

View File

@ -7,8 +7,9 @@
#include <zephyr/kernel.h>
#include <zephyr/sys/printk.h>
void main(void)
int main(void)
{
printk("Hello World from %s on %s!\n",
MCUBOOT_HELLO_WORLD_FROM, CONFIG_BOARD);
return 0;
}