mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH 4/5] commands: dhrystone: remove unneeded and out-of-place <stdbool.h>
Date: Wed,  8 Jul 2020 09:47:38 +0200	[thread overview]
Message-ID: <20200708074739.359-5-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20200708074739.359-1-a.fatoum@pengutronix.de>

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@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


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2020-07-08  7:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-08  7:47 [PATCH 0/5] treewide: delete code referencing unused headers Ahmad Fatoum
2020-07-08  7:47 ` [PATCH 1/5] ppc: mpc5xxx: delete dead code Ahmad Fatoum
2020-07-08  7:47 ` [PATCH 2/5] include: delete unreferenced u-boot part.h header Ahmad Fatoum
2020-07-08  7:47 ` [PATCH 3/5] lib: list_sort: delete dead code Ahmad Fatoum
2020-07-08  7:47 ` Ahmad Fatoum [this message]
2020-07-08  7:47 ` [PATCH 5/5] lib: lzo: drop unused compression code Ahmad Fatoum
2020-07-08  8:12 ` [PATCH 0/5] treewide: delete code referencing unused headers Ahmad Fatoum
2020-07-11  4:25 ` Sascha Hauer
2020-09-14 10:04   ` Ahmad Fatoum
2020-09-14 13:51     ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200708074739.359-5-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox