aboutsummaryrefslogtreecommitdiff
path: root/zlib.h
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-12-18 14:47:08 -0800
committerMark Adler <madler@alumni.caltech.edu>2011-12-18 14:47:08 -0800
commit3d85f02a098baeede07c7d8fcc5b147e805f127b (patch)
tree6d6168d78532c3a62e1b0ee29aaca4002c922a7e /zlib.h
parentdf60b50769ae9441c6ebd853948ee7da559286e0 (diff)
downloadzlib-3d85f02a098baeede07c7d8fcc5b147e805f127b.tar.gz
zlib-3d85f02a098baeede07c7d8fcc5b147e805f127b.tar.bz2
zlib-3d85f02a098baeede07c7d8fcc5b147e805f127b.zip
Restore gzgetc function for binary compatibility.
Newly compiled applications will use the gzgetc macro.
Diffstat (limited to 'zlib.h')
-rw-r--r--zlib.h2
1 files changed, 1 insertions, 1 deletions
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));
1363 returns the value that was written, or -1 in case of error. 1363 returns the value that was written, or -1 in case of error.
1364*/ 1364*/
1365 1365
1366/*
1367ZEXTERN int ZEXPORT gzgetc OF((gzFile file)); 1366ZEXTERN int ZEXPORT gzgetc OF((gzFile file));
1367/*
1368 Reads one byte from the compressed file. gzgetc returns this byte or -1 1368 Reads one byte from the compressed file. gzgetc returns this byte or -1
1369 in case of end of file or error. This is implemented as a macro for speed. 1369 in case of end of file or error. This is implemented as a macro for speed.
1370 As such, it does not do all of the checking the other functions do. I.e. 1370 As such, it does not do all of the checking the other functions do. I.e.