Decompressors: get rid of set_error_fn() macro
[deliverable/linux.git] / lib / decompress_inflate.c
index 1eea07e8f21b317c4a5160afef61181fcee9ec4a..9a7f5dfc0ed7a76829f563c7ea29e27c4e27ab33 100644 (file)
@@ -38,13 +38,12 @@ STATIC int INIT gunzip(unsigned char *buf, int len,
                       int(*flush)(void*, unsigned int),
                       unsigned char *out_buf,
                       int *pos,
-                      void(*error_fn)(char *x)) {
+                      void(*error)(char *x)) {
        u8 *zbuf;
        struct z_stream_s *strm;
        int rc;
        size_t out_len;
 
-       set_error_fn(error_fn);
        rc = -1;
        if (flush) {
                out_len = 0x8000; /* 32 K */
This page took 0.026271 seconds and 5 git commands to generate.