commit | fc076f5a1deef390f4c988985a0036c2fdda40f5 | [log] [tgz] |
---|---|---|
author | Keith Packard <keithp@keithp.com> | Wed Feb 08 21:20:55 2023 -0800 |
committer | Stephanos Ioannidis <root@stephanos.io> | Fri Apr 14 07:49:41 2023 +0900 |
tree | 973d34bac4e9150ce44a5176aa20b016f2bd6926 | |
parent | 3a197934fca250e456e6fe84ca02309a8b437086 [diff] |
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: Keith Packard <keithp@keithp.com>