Skip to content
Commit fc076f5a authored by Keith Packard's avatar Keith Packard Committed by Stephanos Ioannidis
Browse files

kernel: Switch main return type from void to int



As both C and C++ standards require applications running under an OS to
return 'int', adapt that for Zephyr to align with those standard. This also
eliminates errors when building with clang when not using -ffreestanding,
and reduces the need for compiler flags to silence warnings for both clang
and gcc

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent 3a197934
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment