Skip to content

module_adapter: add forward declarations for comp_dev/timestamp_data - #7949

Closed
kv2019i wants to merge 1 commit into
thesofproject:mainfrom
kv2019i:202307-module-interfce-compiler-warnings
Closed

kv2019i wants to merge 1 commit into
thesofproject:mainfrom
kv2019i:202307-module-interfce-compiler-warnings

Conversation

@kv2019i

@kv2019i kv2019i commented Jul 14, 2023

Copy link
Copy Markdown
Collaborator

Commit 9cc6454 ("module_adapter: Extend the module interface for endpoint devices") added use of struct comp_dev and struct timestamp_data to module_interface.h without required include header and/or forward declarations. This leads to compiler warnings. Address the issue by adding forward declarations for these structs as implementation details are not needed in this header.

Commit 9cc6454 ("module_adapter: Extend the module interface for
endpoint devices") added use of struct comp_dev and struct
timestamp_data to module_interface.h without required include header
and/or forward declarations. This leads to compiler warnings. Address
the issue by adding forward declarations for these structs as
implementation details are not needed in this header.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
@kv2019i
kv2019i requested review from jsarha and lyakh July 14, 2023 10:20
@kv2019i kv2019i mentioned this pull request Jul 14, 2023
@kv2019i
kv2019i requested a review from ranj063 July 14, 2023 10:42
@kv2019i kv2019i mentioned this pull request Jul 14, 2023

@jsarha jsarha left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fixes the building issue we have seen lately.

@kv2019i

kv2019i commented Jul 14, 2023

Copy link
Copy Markdown
Collaborator Author

Duplicate of #7945 (which was merged), so closing this.

@kv2019i kv2019i closed this Jul 14, 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.

2 participants