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 #ifndef NOZ
int int
gzbin_file(gzFile *f) gzbin_file(gzFile f)
{ {
char buf[BUFSIZ]; char buf[BUFSIZ];
int m; int m;

View File

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

View File

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