Remove unnecessary gzgetc_ function.

This commit is contained in:
Mark Adler
2012-02-10 23:55:12 -08:00
parent 9894494537
commit 1a4ba8cd91
2 changed files with 4 additions and 11 deletions

View File

@@ -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;