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:
parent
63fa7e45a2
commit
a5e3d16326
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue