Skip to content

Move code from multiple headers to .c files - #1007

Closed
lyakh wants to merge 1 commit into
thesofproject:masterfrom
lyakh:hdr
Closed

Move code from multiple headers to .c files#1007
lyakh wants to merge 1 commit into
thesofproject:masterfrom
lyakh:hdr

Conversation

@lyakh

@lyakh lyakh commented Feb 14, 2019

Copy link
Copy Markdown
Collaborator

I bet this will fail cmocka again, and I might need help with that again...

src/arch/xtensa/include/arch/task.h, src/include/sof/wait.h,
and src/include/sof/panic.h contained functions, too big for
inlining. Move them out to .c files.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
@jajanusz

Copy link
Copy Markdown
Contributor

@lyakh No problem. I like this refactor (hiding implementations) so it's worth the effort

@jajanusz jajanusz 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.

Please apply convention of commit titles format like topic: changes, for example arch: refactor something, if you cannot find a good title maybe you should split changes into multiple commits - it also makes git bisect better when you have fine grained changes

@lyakh

lyakh commented Feb 14, 2019

Copy link
Copy Markdown
Collaborator Author

the commit has been split and moved over to #1005

@lyakh lyakh closed this Feb 14, 2019
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