diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2013-09-21 12:02:41 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-09-22 16:48:46 +0200 |
commit | e7aab5c84424bb6852a1645d7978479c84115fcd (patch) | |
tree | 7171c57c6a48955b130cb3dec634f96372c7afd4 /lib/decompress_unlzo.c | |
parent | e0be72d3cd3924c369e242637744d7864f79e660 (diff) | |
download | barebox-e7aab5c84424bb6852a1645d7978479c84115fcd.tar.gz barebox-e7aab5c84424bb6852a1645d7978479c84115fcd.tar.xz |
lzo: update to lzo-2013
take from linux next-20130227
same version as v3.11
before
-rwxr-xr-x 1 root root 123001 Feb 28 01:04 build/highbank/arch/arm/pbl/zbarebox.bin
after
-rwxr-xr-x 1 root root 122226 Feb 28 01:02 build/highbank/arch/arm/pbl/zbarebox.bin
smaller and faster
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib/decompress_unlzo.c')
-rw-r--r-- | lib/decompress_unlzo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/decompress_unlzo.c b/lib/decompress_unlzo.c index 1b2dc9d179..5ee36670fc 100644 --- a/lib/decompress_unlzo.c +++ b/lib/decompress_unlzo.c @@ -33,7 +33,7 @@ #ifdef STATIC #include <linux/decompress/mm.h> -#include "lzo/lzo1x_decompress.c" +#include "lzo/lzo1x_decompress_safe.c" #else #include <malloc.h> #endif @@ -108,7 +108,7 @@ static inline int parse_header(u8 *input, int *skip, int in_len) return 1; } -STATIC int decompress_unlzo(u8 *input, int in_len, +int decompress_unlzo(u8 *input, int in_len, int (*fill) (void *, unsigned int), int (*flush) (void *, unsigned int), u8 *output, int *posp, |