From 3d85f02a098baeede07c7d8fcc5b147e805f127b Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Sun, 18 Dec 2011 14:47:08 -0800 Subject: Restore gzgetc function for binary compatibility. Newly compiled applications will use the gzgetc macro. --- zlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zlib.h') diff --git a/zlib.h b/zlib.h index 4364ccf..9ca20d7 100644 --- a/zlib.h +++ b/zlib.h @@ -1363,8 +1363,8 @@ ZEXTERN int ZEXPORT gzputc OF((gzFile file, int c)); returns the value that was written, or -1 in case of error. */ -/* ZEXTERN int ZEXPORT gzgetc OF((gzFile file)); +/* Reads one byte from the compressed file. gzgetc returns this byte or -1 in case of end of file or error. This is implemented as a macro for speed. As such, it does not do all of the checking the other functions do. I.e. -- cgit v1.2.1