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

Cleanup rsc_table_parser code and API #562

Merged
merged 3 commits into from
Apr 2, 2024

Conversation

glneo
Copy link
Contributor

@glneo glneo commented Mar 13, 2024

Commit messages should provide the details here. Main idea is to not deploy rsc_table_parser.h and inline the handlers.

glneo added 3 commits March 13, 2024 11:33
These functions are only used within rsc_table_parser. These should be
only available there and made static. This prevents them from becoming
part of the API.

Signed-off-by: Andrew Davis <[email protected]>
The files in include/openamp are deployed on install and can be used
by applications using the OpenAMP API. The functions in rsc_table_parser
are all internal use only. Move this header out of that location.

Signed-off-by: Andrew Davis <[email protected]>
Forward declaration of functions here is not needed, simply move
the function definition to top of the file. No functional change.

Signed-off-by: Andrew Davis <[email protected]>
@arnopo arnopo requested review from edmooring, tnmysh and arnopo March 14, 2024 10:30
@arnopo
Copy link
Collaborator

arnopo commented Mar 14, 2024

For this one, I am rather in favor. I don't think that this APi is usable by application.

Copy link
Collaborator

@tnmysh tnmysh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Contributor

@edmooring edmooring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to go.

Copy link
Collaborator

@arnopo arnopo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there are no further comments on this PR within one week, I will merge it.

@arnopo arnopo added this to the Release V2024.04 milestone Mar 19, 2024
@arnopo arnopo merged commit d50bb03 into OpenAMP:main Apr 2, 2024
3 checks 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.

4 participants