summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-07-12 09:06:41 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-07-26 20:59:16 +0000
commit36b569af55484e99ecb55a55b5a480b07137afd9 (patch)
tree1f67afe93394cbd35ab327327b830d81db2cd3b6
parentf1a18b20bbbcd42555fa5341d9aac8d898ff0530 (diff)
downloadcoreboot-36b569af55484e99ecb55a55b5a480b07137afd9.tar.xz
src/include: Remove unused 'include <stdint.h>'
Change-Id: I407474eac9f44f04036af7182714db7fdc4035f1 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43369 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--src/include/bootstate.h1
-rw-r--r--src/include/fit_payload.h1
-rw-r--r--src/include/list.h1
-rw-r--r--src/include/stdbool.h3
4 files changed, 0 insertions, 6 deletions
diff --git a/src/include/bootstate.h b/src/include/bootstate.h
index 3262b3a5c0..9fac70113e 100644
--- a/src/include/bootstate.h
+++ b/src/include/bootstate.h
@@ -4,7 +4,6 @@
#include <string.h>
#include <stddef.h>
-#include <stdint.h>
/* Only declare main() when in ramstage. */
#if ENV_RAMSTAGE
#include <main_decl.h>
diff --git a/src/include/fit_payload.h b/src/include/fit_payload.h
index 8632b05b82..4ebe3ce78e 100644
--- a/src/include/fit_payload.h
+++ b/src/include/fit_payload.h
@@ -4,7 +4,6 @@
#define __FIT_PAYLOAD_H_
#include <program_loading.h>
-#include <stdint.h>
void fit_payload(struct prog *payload);
diff --git a/src/include/list.h b/src/include/list.h
index a8990354d7..ca8a520fb7 100644
--- a/src/include/list.h
+++ b/src/include/list.h
@@ -5,7 +5,6 @@
#define __LIST_H__
#include <stddef.h>
-#include <stdint.h>
struct list_node {
struct list_node *next;
diff --git a/src/include/stdbool.h b/src/include/stdbool.h
index d7f9e643ea..3733527bd2 100644
--- a/src/include/stdbool.h
+++ b/src/include/stdbool.h
@@ -3,9 +3,6 @@
#ifndef __STDBOOL_H__
#define __STDBOOL_H__
-#include <stdint.h>
-
-
typedef _Bool bool;
#define true 1
#define false 0