diff options
author | Marian Balakowicz <m8@semihalf.com> | 2008-01-08 18:11:43 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-02-07 01:12:55 +0100 |
commit | 321359f20823e0b8c5ad38b64d007a6c48cda16e (patch) | |
tree | 0b319db82d613da865cbd907d01a585f0e3fa88e /lib_generic/bzlib.c | |
parent | d45d5a18b6b36688f2365623f9d550566c664b5b (diff) |
[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.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib_generic/bzlib.c b/lib_generic/bzlib.c index 87e6a6eed6e..0d3f9c2d3ea 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 ---*/ |