From 4ee01bbc747ce85b5ccfeed3e934dfb76fb14482 Mon Sep 17 00:00:00 2001
From: Tor Andersson <tor@ghostscript.com>
Date: Tue, 12 Oct 2004 08:37:25 +0200
Subject: merged seokgyos win32 fixes

---
 filter/filer.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'filter/filer.c')

diff --git a/filter/filer.c b/filter/filer.c
index ead97bdc..29e04558 100644
--- a/filter/filer.c
+++ b/filter/filer.c
@@ -11,7 +11,7 @@ static int doread(fz_buffer *b, int fd)
 	return n;
 }
 
-static int producedata(fz_file *f)
+int fz_producedata(fz_file *f)
 {
 	fz_error *reason;
 	int produced;
@@ -99,7 +99,7 @@ fz_peekbyte(fz_file *f)
 	if (f->out->rp == f->out->wp)
 	{
 		if (f->out->eof) return EOF;
-		if (producedata(f)) return EOF;
+		if (fz_producedata(f)) return EOF;
 	}
 
 	if (f->out->rp < f->out->wp)
@@ -114,7 +114,7 @@ fz_readbyte(fz_file *f)
 	if (f->out->rp == f->out->wp)
 	{
 		if (f->out->eof) return EOF;
-		if (producedata(f)) return EOF;
+		if (fz_producedata(f)) return EOF;
 	}
 
 	if (f->out->rp < f->out->wp)
@@ -136,7 +136,7 @@ fz_read(fz_file *f, char *buf, int n)
 		if (f->out->rp == f->out->wp)
 		{
 			if (f->out->eof) return i;
-			if (producedata(f) < 0) return -1;
+			if (fz_producedata(f) < 0) return -1;
 		}
 	}
 
-- 
cgit v1.2.3