diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/cramfs/uncompress.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/fs/cramfs/uncompress.c b/fs/cramfs/uncompress.c index 228fe68..f431cc4 100644 --- a/fs/cramfs/uncompress.c +++ b/fs/cramfs/uncompress.c @@ -27,9 +27,6 @@ static z_stream stream; -void *zalloc(void *, unsigned, unsigned); -void zfree(void *, void *, unsigned); - /* Returns length of decompressed data. */ int cramfs_uncompress_block (void *dst, void *src, int srclen) { @@ -59,8 +56,8 @@ int cramfs_uncompress_init (void) { int err; - stream.zalloc = zalloc; - stream.zfree = zfree; + stream.zalloc = gzalloc; + stream.zfree = gzfree; stream.next_in = 0; stream.avail_in = 0; |