summaryrefslogtreecommitdiff
path: root/lib_generic/bzlib.c
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2008-01-08 18:11:43 +0100
committerWolfgang Denk <wd@denx.de>2008-02-07 01:12:55 +0100
commit321359f20823e0b8c5ad38b64d007a6c48cda16e (patch)
tree0b319db82d613da865cbd907d01a585f0e3fa88e /lib_generic/bzlib.c
parentd45d5a18b6b36688f2365623f9d550566c664b5b (diff)
downloadu-boot-imx-321359f20823e0b8c5ad38b64d007a6c48cda16e.zip
u-boot-imx-321359f20823e0b8c5ad38b64d007a6c48cda16e.tar.gz
u-boot-imx-321359f20823e0b8c5ad38b64d007a6c48cda16e.tar.bz2
[new uImage] Move gunzip() common code to common/gunzip.c
Move gunzip(), zalloc() and zfree() to a separate file. Share zalloc() and zfree() with cramfs uncompress routine. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Diffstat (limited to 'lib_generic/bzlib.c')
-rw-r--r--lib_generic/bzlib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib_generic/bzlib.c b/lib_generic/bzlib.c
index 87e6a6e..0d3f9c2 100644
--- a/lib_generic/bzlib.c
+++ b/lib_generic/bzlib.c
@@ -1592,6 +1592,10 @@ const char * BZ_API(BZ2_bzerror) (BZFILE *b, int *errnum)
}
#endif
+void bz_internal_error(int errcode)
+{
+ printf ("BZIP2 internal error %d\n", errcode);
+}
/*-------------------------------------------------------------*/
/*--- end bzlib.c ---*/