]> git.ipfire.org Git - thirdparty/systemd.git/commit
Various changes made as part of trying to run include-what-you-use on the systemd...
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 18 Apr 2025 13:07:33 +0000 (15:07 +0200)
committerGitHub <noreply@github.com>
Fri, 18 Apr 2025 13:07:33 +0000 (15:07 +0200)
commitb8fd3f77db461f35cba0bb377801dd083d9d7f86
tree227e74d5f767bf6951d9b0de0d951b1d4dc07376
parentdefd5060d69ba31c1815e7d5427bde93a3db88c0
parent44c2c9a0363e7529be21039a74d1dc250de0642a
Various changes made as part of trying to run include-what-you-use on the systemd repository (#37112)

I have been trying to run
https://github.com/include-what-you-use/include-what-you-use on the
systemd repository to hopefully get a handle on the rampant numbers of
includes we have in every file with no idea if any of the symbols coming
from that file are used or not.

While I haven't got it fully working yet, these changes still make sense
IMO and can be merged already.

Except the last commit, all other changes are about removing circular
dependencies between headers which trips up include-what-you-use.
Regardless of the tool, circular dependencies between headers are a code
smell and I think we should get rid of them regardless of whether we end
up using the tool or not.
src/basic/hashmap.c