| 1ee492bd | 15-Feb-2022 |
Bruce Richardson <[email protected]> |
buildtools/chkincs: check missing C++ guards
Simply compiling a C header with a C++ compiler is not enough to flag missing 'extern "C"' guards. To catch missing guards, we can just use a simple grep
buildtools/chkincs: check missing C++ guards
Simply compiling a C header with a C++ compiler is not enough to flag missing 'extern "C"' guards. To catch missing guards, we can just use a simple grep for the 'extern "C"' part, and error out if any files have a miss.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Tyler Retzlaff <[email protected]>
show more ...
|