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

examples: zephyr: Switch main return type from void to int #28

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

arnopo
Copy link
Collaborator

@arnopo arnopo commented Oct 23, 2023

Zephyr requires now a int main return.

This fixes build warning:
zephy_rpmsg_multi_services/openamp-system-reference/examples/zephyr/rpmsg_multi_services/src/main_remote.c:480:6: warning: return type of 'main' is not 'int' [-Wmain]
480 | void main(void)
| ^~~~

Zephyr requires now a main return.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
@arnopo arnopo merged commit b282586 into OpenAMP:main Oct 23, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants