summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-05-28 08:54:42 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-06-02 07:42:32 +0000
commit0c154af2175fcb05bffa4ccad11c40366f5417e7 (patch)
tree3779418baad8ad97239acddc24a09110cc1f3b6a /src/include
parent48378e1f8d132a3d3bdbb7b1eac5c769c273e6e1 (diff)
src: Remove redundant includes
<types.h> is supposed to provide <commonlib/bsd/cb_err.h>, <stdbool.h>,<stdint.h> and <stddef.h>. So remove those includes each time when <types.h> is included. Change-Id: I886f02255099f3005852a2e6095b21ca86a940ed Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41817 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/device/dram/ddr3.h1
-rw-r--r--src/include/device/dram/ddr4.h1
-rw-r--r--src/include/lib.h2
3 files changed, 1 insertions, 3 deletions
diff --git a/src/include/device/dram/ddr3.h b/src/include/device/dram/ddr3.h
index 08b7b7c72c..a209e48b8b 100644
--- a/src/include/device/dram/ddr3.h
+++ b/src/include/device/dram/ddr3.h
@@ -15,7 +15,6 @@
* \brief Utilities for decoding DDR3 SPDs
*/
-#include <stdint.h>
#include <spd.h>
#include <device/dram/common.h>
#include <types.h>
diff --git a/src/include/device/dram/ddr4.h b/src/include/device/dram/ddr4.h
index 51fd7bff6d..f258fa9f09 100644
--- a/src/include/device/dram/ddr4.h
+++ b/src/include/device/dram/ddr4.h
@@ -14,7 +14,6 @@
* \brief Utilities for decoding DDR4 SPDs
*/
-#include <stdint.h>
#include <spd.h>
#include <device/dram/common.h>
#include <types.h>
diff --git a/src/include/lib.h b/src/include/lib.h
index d7b6b14b91..0d6fdb14be 100644
--- a/src/include/lib.h
+++ b/src/include/lib.h
@@ -4,7 +4,7 @@
#ifndef __LIB_H__
#define __LIB_H__
-#include <stdint.h>
+
#include <types.h>
/* Defined in src/lib/lzma.c. Returns decompressed size or 0 on error. */