From a27aa33c254a0054af72147a5ce05d106df15251 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 15 Aug 2008 16:57:09 +0200 Subject: Simplify (and possibly reduce performance) of fz_readall(). --- include/fitz/stm_stream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/fitz/stm_stream.h b/include/fitz/stm_stream.h index 62eb8515..4f7463bb 100644 --- a/include/fitz/stm_stream.h +++ b/include/fitz/stm_stream.h @@ -58,7 +58,7 @@ fz_error * fz_rseek(fz_stream *stm, int offset, int whence); fz_error * fz_readimp(fz_stream *stm); fz_error * fz_read(int *np, fz_stream *stm, unsigned char *buf, int len); -fz_error * fz_readall(fz_buffer **bufp, fz_stream *stm); +fz_error * fz_readall(fz_buffer **bufp, fz_stream *stm, int sizehint); fz_error * fz_readline(fz_stream *stm, char *buf, int max); /* -- cgit v1.2.3