aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-11-30 20:07:30 +0100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2020-01-02 09:05:44 +0000
commitc5a5b369a8f27b3aa8ea63e452f1474f9ef37cd9 (patch)
tree4aa855391096f94018f956a153f6b6e0381b4a3f
parent630aa4b3db1b7fa459380ec52328d632b53b22de (diff)
src/include: Remove unused <stdlib.h>
Change-Id: I9e5d18739e7c5b5c742a905ac482529c7e0866df Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37827 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Frans Hendriks <fhendriks@eltan.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/include/bootstate.h1
-rw-r--r--src/include/device/i2c_bus.h1
-rw-r--r--src/include/string.h1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/include/bootstate.h b/src/include/bootstate.h
index 26038c6101..c53884e944 100644
--- a/src/include/bootstate.h
+++ b/src/include/bootstate.h
@@ -16,7 +16,6 @@
#define BOOTSTATE_H
#include <string.h>
-#include <stdlib.h>
#include <stddef.h>
#include <stdint.h>
/* Only declare main() when in ramstage. */
diff --git a/src/include/device/i2c_bus.h b/src/include/device/i2c_bus.h
index 5302d20228..81eae11e2f 100644
--- a/src/include/device/i2c_bus.h
+++ b/src/include/device/i2c_bus.h
@@ -14,7 +14,6 @@
#ifndef _DEVICE_I2C_BUS_H_
#define _DEVICE_I2C_BUS_H_
-#include <stdlib.h>
#include <stdint.h>
#include <device/i2c.h>
#include <device/device.h>
diff --git a/src/include/string.h b/src/include/string.h
index bcfc111431..b55ca5fba6 100644
--- a/src/include/string.h
+++ b/src/include/string.h
@@ -2,7 +2,6 @@
#define STRING_H
#include <stddef.h>
-#include <stdlib.h>
#include <console/vtxprintf.h>