aboutsummaryrefslogtreecommitdiff
path: root/lib/bzip2
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-12-14 13:16:58 -0500
committerTom Rini <trini@konsulko.com>2023-12-21 08:54:37 -0500
commit467382ca03758e4f3f13107e3a83669e93a7461e (patch)
treec8b6c0f66052e329cc57451c9e0fe2d24bc3407d /lib/bzip2
parent1e8ce11a0b94bb2fcf55590eeffa9c85886b89bc (diff)
downloadu-boot-467382ca03758e4f3f13107e3a83669e93a7461e.zip
u-boot-467382ca03758e4f3f13107e3a83669e93a7461e.tar.gz
u-boot-467382ca03758e4f3f13107e3a83669e93a7461e.tar.bz2
lib: Remove <common.h> inclusion from these filesWIP/2023-12-21-header-inclusion-cleanup
After some header file cleanups to add missing include files, remove common.h from all files in the lib directory. This primarily means just dropping the line but in a few cases we need to add in other header files now. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'lib/bzip2')
-rw-r--r--lib/bzip2/bzlib.c3
-rw-r--r--lib/bzip2/bzlib_decompress.c1
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/bzip2/bzlib.c b/lib/bzip2/bzlib.c
index bd589aa..f7318b7 100644
--- a/lib/bzip2/bzlib.c
+++ b/lib/bzip2/bzlib.c
@@ -1,7 +1,6 @@
-#include <config.h>
-#include <common.h>
#include <malloc.h>
#include <watchdog.h>
+#include <stdio.h>
/*
* This file is a modified version of bzlib.c from the bzip2-1.0.2
diff --git a/lib/bzip2/bzlib_decompress.c b/lib/bzip2/bzlib_decompress.c
index 3b417d5..e56ab66 100644
--- a/lib/bzip2/bzlib_decompress.c
+++ b/lib/bzip2/bzlib_decompress.c
@@ -1,5 +1,4 @@
#include <config.h>
-#include <common.h>
#include <watchdog.h>
/*-------------------------------------------------------------*/