minix/usr.bin/grep - Update gzFile parameter types following zlib update.

This commit is contained in:
Sevan Janiyan 2018-11-17 20:12:32 +00:00
parent b102ab2595
commit abd8c8d62c
3 changed files with 4 additions and 4 deletions

View File

@ -62,7 +62,7 @@ bin_file(FILE *f)
#ifndef NOZ
int
gzbin_file(gzFile *f)
gzbin_file(gzFile f)
{
char buf[BUFSIZ];
int m;

View File

@ -53,12 +53,12 @@ struct file {
int noseek;
FILE *f;
mmf_t *mmf;
gzFile *gzf;
gzFile gzf;
};
#ifndef NOZ
static char *
gzfgetln(gzFile *f, size_t *len)
gzfgetln(gzFile f, size_t *len)
{
size_t n;
int c;

View File

@ -121,6 +121,6 @@ void grep_close(file_t *f);
/* binary.c */
int bin_file(FILE * f);
int gzbin_file(gzFile * f);
int gzbin_file(gzFile f);
int mmbin_file(mmf_t *f);