Commit a5e3d163 authored by Andrej Butok's avatar Andrej Butok Committed by Jamie
Browse files

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



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

Signed-off-by: default avatarAndrej Butok <andrey.butok@nxp.com>
parent 63fa7e45
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
}