Skip to content

move #includes from headers to .c files, remove unnecessary #includes.#193

Open
RokerHRO wants to merge 1 commit intoNetworkBlockDevice:masterfrom
RokerHRO:fix_includes
Open

move #includes from headers to .c files, remove unnecessary #includes.#193
RokerHRO wants to merge 1 commit intoNetworkBlockDevice:masterfrom
RokerHRO:fix_includes

Conversation

@RokerHRO
Copy link
Copy Markdown
Contributor

@RokerHRO RokerHRO commented May 3, 2026

My IDE QtCreator complains about unnecessary #include directives or #includes in .h files whose declarations are only used/needed in certain .c files, not in the header itself.

So tried to fix these complains until it "works on my machine". But I cannot speak for other systems or configurations. That's why I only commented-out the removed #include directives so far, instead of removing them completely.

If these changes work on all supported & tested platforms I'd remove the // #include lines. :-)

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.

1 participant