tree: Use <stdio.h> for snprintf
<stdio.h> header is used for input/output operations (such as printf, scanf, fopen, etc.). Although some input/output functions can manipulate strings, they do not need to directly include <string.h> because they are declared independently. Change-Id: Ibe2a4ff6f68843a6d99cfdfe182cf2dd922802aa Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82665 Reviewed-by: Yidi Lin <yidilin@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
93ca6b676c
commit
bdd03c20d5
93 changed files with 93 additions and 5 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <intelblocks/pmc_ipc.h>
|
||||
#include <stdio.h>
|
||||
#include <soc/dptf.h>
|
||||
#include <soc/pci_devs.h>
|
||||
#include "chip.h"
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
#include <commonlib/fsp.h>
|
||||
#include <console/console.h>
|
||||
#include <fsp/util.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <types.h>
|
||||
#include <assert.h>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include <acpi/acpigen.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "i915.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@
|
|||
#include <device/i2c_simple.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
#define CSI2_DATA_STREAM_INTERFACE_GUID \
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
#include <console/console.h>
|
||||
#include <drivers/usb/acpi/chip.h>
|
||||
#include <intelblocks/acpi.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
#include <device/device.h>
|
||||
#include <drivers/usb/acpi/chip.h>
|
||||
#include <gpio.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "chip.h"
|
||||
#include "retimer.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue