minix/usr.bin/grep - Update gzFile parameter types following zlib update.
This commit is contained in:
parent
b102ab2595
commit
abd8c8d62c
|
|
@ -62,7 +62,7 @@ bin_file(FILE *f)
|
|||
|
||||
#ifndef NOZ
|
||||
int
|
||||
gzbin_file(gzFile *f)
|
||||
gzbin_file(gzFile f)
|
||||
{
|
||||
char buf[BUFSIZ];
|
||||
int m;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user