summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-11-28 21:39:12 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-11-29 21:12:42 +0100
commit83d0904980531a4ac96ebc1f5becc52422536dbe (patch)
tree51f23a4eba2069fa233ce80538b4ae97554af990 /lib
parentb6996039f622ccc8488176e211bf41315f9691c6 (diff)
downloadbarebox-83d0904980531a4ac96ebc1f5becc52422536dbe.tar.gz
barebox-83d0904980531a4ac96ebc1f5becc52422536dbe.tar.xz
lzo: export decompress_unlzo function
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/decompress_unlzo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/decompress_unlzo.c b/lib/decompress_unlzo.c
index 0ae3d4d049..5c0587e57c 100644
--- a/lib/decompress_unlzo.c
+++ b/lib/decompress_unlzo.c
@@ -106,7 +106,7 @@ static inline int parse_header(u8 *input, int *skip, int in_len)
return 1;
}
-static inline int __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,
@@ -307,5 +307,5 @@ int unlzo(int _in_fd, int _out_fd, int *dest_len)
{
in_fd = _in_fd;
out_fd = _out_fd;
- return __unlzo(NULL, 0, unlzo_fill, unlzo_flush, NULL, NULL, unlzo_error);
+ return decompress_unlzo(NULL, 0, unlzo_fill, unlzo_flush, NULL, NULL, unlzo_error);
}