From 2e04ad6b587c9a34d18819165152ace7657cf443 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 11 Mar 2009 22:07:53 +0100 Subject: Remove fz_outofmem constant. --- fitz/stm_read.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'fitz/stm_read.c') diff --git a/fitz/stm_read.c b/fitz/stm_read.c index 330d4ce7..adb79908 100644 --- a/fitz/stm_read.c +++ b/fitz/stm_read.c @@ -5,7 +5,7 @@ #include "fitz_base.h" #include "fitz_stream.h" -fz_error +fz_error fz_readimp(fz_stream *stm) { fz_buffer *buf = stm->buffer; @@ -93,7 +93,7 @@ fz_readimp(fz_stream *stm) error = fz_growbuffer(buf); if (error) { - stm->dead = 1; + stm->dead = 1; return fz_rethrow(error, "cannot grow buffer"); } } @@ -151,7 +151,7 @@ fz_tell(fz_stream *stm) } } -fz_error +fz_error fz_seek(fz_stream *stm, int offset, int whence) { fz_error error; @@ -224,7 +224,7 @@ fz_seek(fz_stream *stm, int offset, int whence) } } -fz_error +fz_error fz_read(int *np, fz_stream *stm, unsigned char *mem, int n) { fz_error error; @@ -254,7 +254,7 @@ fz_read(int *np, fz_stream *stm, unsigned char *mem, int n) return fz_okay; } -fz_error +fz_error fz_readerror(fz_stream *stm) { fz_error error; -- cgit v1.2.3