]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - fs/cramfs/uncompress.c
Consolidate bool type
[karo-tx-uboot.git] / fs / cramfs / uncompress.c
index 228fe68c11a14f7832ad3a8b7b91ae5c92fa7a75..f431cc46c1f756bb3100d5dd9830099c241cc628 100644 (file)
@@ -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;