Restore gzgetc_ for backward compatibility with 1.2.6.

This commit is contained in:
Mark Adler
2012-02-18 14:10:20 -08:00
parent 6838df9246
commit d81e7213b7
11 changed files with 23 additions and 0 deletions

View File

@@ -408,6 +408,12 @@ int ZEXPORT gzgetc(file)
return ret < 1 ? -1 : buf[0];
}
int ZEXPORT gzgetc_(file)
gzFile file;
{
return gzgetc(file);
}
/* -- see zlib.h -- */
int ZEXPORT gzungetc(c, file)
int c;