zephyr/doc/develop/languages/c
Keith Packard 3a197934fc doc: 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>
2023-04-14 07:49:41 +09:00
..
index.rst doc: Switch main return type from void to int. 2023-04-14 07:49:41 +09:00
minimal_libc.rst
newlib.rst lib: libc: newlib: Make newlib nano variant optional 2022-10-19 16:02:51 +02:00
picolibc.rst doc/develop: Add picolibc documentation 2023-02-01 10:07:05 -08:00