Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
2 years ago
..
application_development
tests: code_relocation: Add additional test cases for library and genex
3 years ago
arch
samples, tests, boards: Switch main return type from void to int
2 years ago
benchmarks
samples, tests, boards: Switch main return type from void to int
2 years ago
bluetooth
samples, tests, boards: Switch main return type from void to int
2 years ago
boards
samples, tests, boards: Switch main return type from void to int
2 years ago
boot
samples, tests, boards: Switch main return type from void to int
2 years ago
bsim
samples, tests, boards: Switch main return type from void to int
2 years ago
cmake
tests: add snippet test suite
2 years ago
crypto
tests: remove intel adsp cavs platforms from filters
2 years ago
drivers
samples, tests, boards: Switch main return type from void to int
2 years ago
kernel
samples, tests, boards: Switch main return type from void to int
2 years ago
lib
samples, tests, boards: Switch main return type from void to int
2 years ago
misc
samples, tests, boards: Switch main return type from void to int
2 years ago
net
tests: lwm2m: Add more tests to RD client
2 years ago
posix
sys: util: migrate all files to DIV_ROUND_UP
2 years ago
subsys
samples, tests, boards: Switch main return type from void to int
2 years ago
unit
tests: unit: util: test DIV_ROUND_UP
2 years ago
ztest
tests: ztest: use more verbose testname
2 years ago
test_config.yaml
twister: add support for levels and test configuration
2 years ago