zephyr/boards
Keith Packard 0b90fd5adf samples, tests, boards: 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.

Most of these changes were automated using coccinelle with the following
script:

@@
@@
- void
+ int
main(...) {
	...
-	return;
+	return 0;
	...
}

Approximately 40 files had to be edited by hand as coccinelle was unable to
fix them.

Signed-off-by: Keith Packard <keithp@keithp.com>
2023-04-14 07:49:41 +09:00
..
arc init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
arm samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
arm64 board: fvp_base_revc_2xaemv8a: Add ethernet, phy and mdio nodes 2023-04-11 11:27:05 +02:00
common init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
mips
nios2 drivers: flashdisk: remove all DISK_FLASH* Kconfig options 2022-10-28 12:45:58 +02:00
posix soc_inf: Refactor native tasks into own header 2023-04-13 13:35:20 +02:00
riscv init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
shields boards: shield: introduce st_b_lcd40_dsi1_mb1166 2023-04-06 11:51:06 +02:00
sparc boards: add simulation executable for 3rd party sims 2022-11-25 06:09:02 -05:00
x86 boards: rpl_crb: Indicate support for SMBus 2023-04-04 08:15:00 -04:00
xtensa init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
CMakeLists.txt
deprecated.cmake
index.rst
Kconfig boards: kconfig: qemu: introduce QEMU_GDBSERVER_LISTEN_DEV 2023-02-20 09:48:52 +01:00