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> |
||
|---|---|---|
| .. | ||
| data_structures | ||
| drivers | ||
| iterable_sections | ||
| memory_management | ||
| services | ||
| timing_functions | ||
| usermode | ||
| util | ||
| code-relocation.rst | ||
| index.rst | ||
| timeutil.rst | ||