summaryrefslogtreecommitdiffstats
path: root/include/cramfs
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-12-05 15:19:24 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-12-05 15:19:26 +0100
commit35869a211f3f5afc8c7bb16c28d62acea3842161 (patch)
treedda0e83cea01f013dc2c13008f0fdb586f6dbd17 /include/cramfs
parent36c47ce426cbe7aea59fab4c0218fe07cd80bdc0 (diff)
downloadbarebox-35869a211f3f5afc8c7bb16c28d62acea3842161.tar.gz
barebox-35869a211f3f5afc8c7bb16c28d62acea3842161.tar.xz
fix cramfs support broken since zlib update
cramfs does not compile since we updated zlib to the kernel version. Fix this by using the kernel version of uncompress.c Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/cramfs')
-rw-r--r--include/cramfs/cramfs_fs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cramfs/cramfs_fs.h b/include/cramfs/cramfs_fs.h
index 3d3c56f5a3..af2940be05 100644
--- a/include/cramfs/cramfs_fs.h
+++ b/include/cramfs/cramfs_fs.h
@@ -119,8 +119,8 @@ struct cramfs_super {
#endif
/* Uncompression interfaces to the underlying zlib */
-int cramfs_uncompress_block(void *dst, void *src, int srclen);
+int cramfs_uncompress_block(void *dst, int dstlen, void *src, int srclen);
int cramfs_uncompress_init(void);
-int cramfs_uncompress_exit(void);
+void cramfs_uncompress_exit(void);
#endif /* __CRAMFS_H */