diff options
author | Tor Andersson <tor@ghostscript.com> | 2009-03-11 15:59:50 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2009-03-11 15:59:50 +0100 |
commit | 31733cfd3ba1a920542da3792f2591cf7ba5f62a (patch) | |
tree | 64a6751de8e6c171bfaa334188623a7134c285d2 /fitz/filt_flate.c | |
parent | b3092ce4920ea6456788a595c5dd9a794f79eed6 (diff) | |
download | mupdf-31733cfd3ba1a920542da3792f2591cf7ba5f62a.tar.xz |
Change fz_error* struct into an integer error type fz_error.
Diffstat (limited to 'fitz/filt_flate.c')
-rw-r--r-- | fitz/filt_flate.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fitz/filt_flate.c b/fitz/filt_flate.c index 056e8670..73105800 100644 --- a/fitz/filt_flate.c +++ b/fitz/filt_flate.c @@ -17,10 +17,10 @@ zmalloc(void *opaque, unsigned int items, unsigned int size) return fz_malloc(items * size); } -fz_error * +fz_error fz_newflated(fz_filter **fp, fz_obj *params) { - fz_error *eo; + fz_error eo; fz_obj *obj; int zipfmt; int ei; @@ -70,7 +70,7 @@ fz_dropflated(fz_filter *f) fprintf(stderr, "inflateEnd: %s", zp->msg); } -fz_error * +fz_error fz_processflated(fz_filter *f, fz_buffer *in, fz_buffer *out) { z_streamp zp = &((fz_flate*)f)->z; @@ -110,11 +110,11 @@ fz_processflated(fz_filter *f, fz_buffer *in, fz_buffer *out) } } -fz_error * +fz_error fz_newflatee(fz_filter **fp, fz_obj *params) { fz_obj *obj; - fz_error *eo; + fz_error eo; int effort; int zipfmt; int ei; @@ -166,7 +166,7 @@ fz_dropflatee(fz_filter *f) fz_free(f); } -fz_error * +fz_error fz_processflatee(fz_filter *f, fz_buffer *in, fz_buffer *out) { z_streamp zp = &((fz_flate*)f)->z; |