Skip to contentSkip to conversation

kbuild: fix comment about missing include guard detection

PATCH New Masahiro Yamada 1 participant 1 message Apr 8, 2020 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kbuild: fix comment about missing include guard detection

The keyword here is 'twice' to explain the trick.

---

 usr/include/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
usr/include/Makefile +1 -1
index a339ef325aa5..b568a95d1f62 100644
@@ -93,7 +93,7 @@ no-header-test += asm-generic/%
 
 extra-y := $(patsubst $(obj)/%.h,%.hdrtest, $(shell find $(obj) -name '*.h' 2>/dev/null))
 
-# Include the header to detect missing include guard.
+# Include the header twice to detect missing include guard.
 quiet_cmd_hdrtest = HDRTEST $<
       cmd_hdrtest = \
 		$(CC) $(c_flags) -S -o /dev/null -x c /dev/null \
Signature · 1 line
2.17.1