summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-12-21 08:14:07 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-12-26 10:45:37 +0000
commit4200a5226305f91e996e415348dcfb7607be4a59 (patch)
tree30696cd742fc51e09f11f49730c6911b185212ef /src/lib
parenta8a7374e843bae6c98ad242d2870bef6043d165d (diff)
src: Remove unused include <string.h>
Change-Id: Ic6b66dd8fa387e67bb0ce609fb7e2553eeb66b3c Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37888 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/hexdump.c1
-rw-r--r--src/lib/hexstrtobin.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/hexdump.c b/src/lib/hexdump.c
index 2c9e483d1d..8ecba6d512 100644
--- a/src/lib/hexdump.c
+++ b/src/lib/hexdump.c
@@ -15,7 +15,6 @@
#include <console/console.h>
#include <ctype.h>
#include <lib.h>
-#include <string.h>
void hexdump(const void *memory, size_t length)
{
diff --git a/src/lib/hexstrtobin.c b/src/lib/hexstrtobin.c
index 61290b86d3..f0d3e9daba 100644
--- a/src/lib/hexstrtobin.c
+++ b/src/lib/hexstrtobin.c
@@ -13,7 +13,6 @@
#include <ctype.h>
#include <lib.h>
-#include <string.h>
size_t hexstrtobin(const char *str, uint8_t *buf, size_t len)
{