aboutsummaryrefslogtreecommitdiff
path: root/gzread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gzread.c')
-rw-r--r--gzread.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/gzread.c b/gzread.c
index 46d40e0..e257867 100644
--- a/gzread.c
+++ b/gzread.c
@@ -373,7 +373,8 @@ int ZEXPORT gzread(file, buf, len)
373} 373}
374 374
375/* -- see zlib.h -- */ 375/* -- see zlib.h -- */
376int ZEXPORT gzgetc_(file) 376#undef gzgetc
377int ZEXPORT gzgetc(file)
377 gzFile file; 378 gzFile file;
378{ 379{
379 int ret; 380 int ret;
@@ -402,13 +403,6 @@ int ZEXPORT gzgetc_(file)
402 return ret < 1 ? -1 : buf[0]; 403 return ret < 1 ? -1 : buf[0];
403} 404}
404 405
405#undef gzgetc
406int ZEXPORT gzgetc(file)
407gzFile file;
408{
409 return gzgetc_(file);
410}
411
412/* -- see zlib.h -- */ 406/* -- see zlib.h -- */
413int ZEXPORT gzungetc(c, file) 407int ZEXPORT gzungetc(c, file)
414 int c; 408 int c;