summaryrefslogtreecommitdiff
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)
}
/* -- see zlib.h -- */
-int ZEXPORT gzgetc_(file)
+#undef gzgetc
+int ZEXPORT gzgetc(file)
gzFile file;
{
int ret;
@@ -402,13 +403,6 @@ int ZEXPORT gzgetc_(file)
return ret < 1 ? -1 : buf[0];
}
-#undef gzgetc
-int ZEXPORT gzgetc(file)
-gzFile file;
-{
- return gzgetc_(file);
-}
-
/* -- see zlib.h -- */
int ZEXPORT gzungetc(c, file)
int c;