kernel_optimize_test/usr/include
Masahiro Yamada 551197864a kbuild: detect missing include guard for exported headers
Adding an include guard to every header file is good practice in case
it is included multiple times.

Exported headers are compile-tested for the comprehensive sanity checks.
Let's include the same header twice. If an include guard is missing,
the header will fail to build due to redefinition of something.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
2020-01-07 02:18:38 +09:00
..
.gitignore kbuild: compile-test exported headers to ensure they are self-contained 2019-07-08 23:13:57 +09:00
Makefile kbuild: detect missing include guard for exported headers 2020-01-07 02:18:38 +09:00