[PATCH 4/5] commands: dhrystone: remove unneeded and out-of-place <stdbool.h>

Ahmad Fatoum a.fatoum at pengutronix.de
Wed Jul 8 03:47:38 EDT 2020


Our bool definitions come out of <linux/types.h>. <stdbool.h> shouldn't
be used for normal barebox code. We already include <linux/types.h> by
means of <common.h> above. So drop the <stdbool.h>

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 commands/dhrystone.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/commands/dhrystone.c b/commands/dhrystone.c
index c839b0c04351..154910e5d079 100644
--- a/commands/dhrystone.c
+++ b/commands/dhrystone.c
@@ -17,7 +17,6 @@
 #include <clock.h>
 #include <asm-generic/div64.h>
 #include <malloc.h>
-#include <stdbool.h>
 #include <stdio.h> /* for strcpy, strcmp */
 
 enum idents {ident_1, ident_2, ident_3, ident_4, ident_5};
-- 
2.27.0




More information about the barebox mailing list