Two common questions about include guards:
FIRST QUESTION:
Why aren\'t include guards protecting my header files from mutua
fiorentinoing's answer is echoed in Git 2.24 (Q4 2019), where a similar code cleanup is taking place in the Git codebase.
See commit 2fe4439 (03 Oct 2019) by René Scharfe (rscharfe).
(Merged by Junio C Hamano -- gitster -- in commit a4c5d9f, 11 Oct 2019)
treewide: remove duplicate
#include
directivesFound with:
git grep '^#include ' '*.c' | sort | uniq -d