Martin Roth has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/32823 )
Change subject: src/ec: Use 'include <stdlib.h>' when appropriate ......................................................................
src/ec: Use 'include <stdlib.h>' when appropriate
Change-Id: Ifdb2dee08da45d698174583ee5ed44bf5a0243ff Signed-off-by: Elyes HAOUAS ehaouas@noos.fr Reviewed-on: https://review.coreboot.org/c/coreboot/+/32823 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Martin Roth martinroth@google.com --- M src/ec/compal/ene932/ec.c M src/ec/google/wilco/mailbox.c M src/ec/kontron/it8516e/ec.c M src/ec/lenovo/h8/h8.c M src/ec/lenovo/pmh7/pmh7.c M src/ec/quanta/ene_kb3940q/ec.c M src/ec/quanta/it8518/ec.c M src/ec/roda/it8518/ec.c 8 files changed, 0 insertions(+), 8 deletions(-)
Approvals: build bot (Jenkins): Verified Martin Roth: Looks good to me, approved
diff --git a/src/ec/compal/ene932/ec.c b/src/ec/compal/ene932/ec.c index 7d8880c..cfabd8d 100644 --- a/src/ec/compal/ene932/ec.c +++ b/src/ec/compal/ene932/ec.c @@ -19,7 +19,6 @@ #include <console/console.h> #include <device/device.h> #include <device/pnp.h> -#include <stdlib.h> #include <arch/io.h> #include <delay.h> #include <pc80/keyboard.h> diff --git a/src/ec/google/wilco/mailbox.c b/src/ec/google/wilco/mailbox.c index d47290c..3414c4a 100644 --- a/src/ec/google/wilco/mailbox.c +++ b/src/ec/google/wilco/mailbox.c @@ -18,7 +18,6 @@ #include <delay.h> #include <ec/google/common/mec.h> #include <stdint.h> -#include <stdlib.h> #include <string.h> #include <timer.h> #include <types.h> diff --git a/src/ec/kontron/it8516e/ec.c b/src/ec/kontron/it8516e/ec.c index 5565382..c0042fc 100644 --- a/src/ec/kontron/it8516e/ec.c +++ b/src/ec/kontron/it8516e/ec.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */
-#include <stdlib.h> #include <console/console.h> #include <device/device.h> #include <device/pnp.h> diff --git a/src/ec/lenovo/h8/h8.c b/src/ec/lenovo/h8/h8.c index f707014c..2b959ce 100644 --- a/src/ec/lenovo/h8/h8.c +++ b/src/ec/lenovo/h8/h8.c @@ -18,7 +18,6 @@ #include <device/device.h> #include <device/pnp.h> #include <ec/acpi/ec.h> -#include <stdlib.h> #include <string.h> #include <smbios.h> #include <pc80/mc146818rtc.h> diff --git a/src/ec/lenovo/pmh7/pmh7.c b/src/ec/lenovo/pmh7/pmh7.c index ef505cd1..30de6fe 100644 --- a/src/ec/lenovo/pmh7/pmh7.c +++ b/src/ec/lenovo/pmh7/pmh7.c @@ -17,7 +17,6 @@ #include <console/console.h> #include <device/device.h> #include <device/pnp.h> -#include <stdlib.h> #include <pc80/mc146818rtc.h> #include <delay.h> #include <types.h> diff --git a/src/ec/quanta/ene_kb3940q/ec.c b/src/ec/quanta/ene_kb3940q/ec.c index af2d378..1f8e36c 100644 --- a/src/ec/quanta/ene_kb3940q/ec.c +++ b/src/ec/quanta/ene_kb3940q/ec.c @@ -22,7 +22,6 @@ #include <device/pnp.h> #include <delay.h> #include <elog.h> -#include <stdlib.h> #include <pc80/keyboard.h>
#include "ec.h" diff --git a/src/ec/quanta/it8518/ec.c b/src/ec/quanta/it8518/ec.c index e293f7c..5b9ba9f 100644 --- a/src/ec/quanta/it8518/ec.c +++ b/src/ec/quanta/it8518/ec.c @@ -20,7 +20,6 @@ #include <device/device.h> #include <device/pnp.h> #include <pc80/keyboard.h> -#include <stdlib.h>
#include "ec.h" #include "chip.h" diff --git a/src/ec/roda/it8518/ec.c b/src/ec/roda/it8518/ec.c index 4e69d11..09ff480 100644 --- a/src/ec/roda/it8518/ec.c +++ b/src/ec/roda/it8518/ec.c @@ -18,7 +18,6 @@ #include <device/pnp.h> #include <pc80/keyboard.h> #include <ec/acpi/ec.h> -#include <stdlib.h> #include <delay.h>
#include "chip.h"