Skip to content

app: Switch main return type to 'int'#7544

Merged
kv2019i merged 1 commit intothesofproject:mainfrom
keith-packard:upstream-int-main
May 4, 2023
Merged

app: Switch main return type to 'int'#7544
kv2019i merged 1 commit intothesofproject:mainfrom
keith-packard:upstream-int-main

Conversation

@keith-packard
Copy link
Copy Markdown
Contributor

With Zephyr adopting a different type for 'main', adapt this application to match.

This is required when building without the -ffreestanding compiler flag as the C standard for "hosted" applications requires one of a small set of specific signatures for the main function.

With Zephyr adopting a different type for 'main', adapt this
application to match.

Signed-off-by: Keith Packard <keithp@keithp.com>
@sofci
Copy link
Copy Markdown
Collaborator

sofci commented May 1, 2023

Can one of the admins verify this patch?

reply test this please to run this test once

@gkbldcig
Copy link
Copy Markdown
Collaborator

gkbldcig commented May 1, 2023

Can one of the admins verify this patch?

@marc-hb
Copy link
Copy Markdown
Collaborator

marc-hb commented May 1, 2023

test this please

EDIT: this aligns with recent Zephyr change:

@kv2019i
Copy link
Copy Markdown
Collaborator

kv2019i commented May 2, 2023

Ready to go, pending CI results for Intel quickbuild -> @wszypelt

@kv2019i kv2019i merged commit 3a5f7a3 into thesofproject:main May 4, 2023
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.

10 participants