Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix C and C++ standard violation #121

Merged
merged 2 commits into from
Sep 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion doc/bridle/releases/release-notes-3.5.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Change log

:brd:`NOT YET, tbd.`

* tbd.
* Switch main return type from void to int for all samples.
* tbd.
* tbd.

Expand Down Expand Up @@ -138,6 +138,7 @@ Issue Related Items

These GitHub issues were addressed since project bootstrapping:

* :github:`120` - [BUG] Nightly QA integration test fails
* :github:`118` - [BUG] QA Integration Test fails
* :github:`116` - [BUG] Grove Shields DTS Binding test suites fail for seeeduino_lotus@usbcons
* :github:`115` - [BUG] Bridle Common (core) Testing fails since v3.4
Expand Down
2 changes: 1 addition & 1 deletion samples/button/src/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ static int init()
SYS_INIT(init, APPLICATION, APPLICATION_IO_INIT_PRIORITY);

/* Empty main */
void main(void) {}
int main(void) {return 0;}
3 changes: 2 additions & 1 deletion samples/helloshell/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
#include <zephyr/kernel.h>
#include <zephyr/sys/printk.h>

void main(void)
int main(void)
{
printk("Hello World! I'm THE SHELL from %s\n", CONFIG_BOARD);
return 0;
}
Loading