projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kbuild: prevent exported headers from including <stdlib.h>, <stdbool.h>
[linux-block.git]
/
usr
/
dummy-include
/
stdbool.h
diff --git a/usr/dummy-include/stdbool.h
b/usr/dummy-include/stdbool.h
new file mode 100644
(file)
index 0000000..
54ff9e9
--- /dev/null
+++ b/
usr/dummy-include/stdbool.h
@@ -0,0
+1,7
@@
+/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef _STDBOOL_H
+#define _STDBOOL_H
+
+#error "Please do not include <stdbool.h> from exported headers"
+
+#endif /* _STDBOOL_H */