diff --git a/minix/usr.bin/grep/binary.c b/minix/usr.bin/grep/binary.c index 1a22a6b2e..09d868958 100644 --- a/minix/usr.bin/grep/binary.c +++ b/minix/usr.bin/grep/binary.c @@ -62,7 +62,7 @@ bin_file(FILE *f) #ifndef NOZ int -gzbin_file(gzFile *f) +gzbin_file(gzFile f) { char buf[BUFSIZ]; int m; diff --git a/minix/usr.bin/grep/file.c b/minix/usr.bin/grep/file.c index a10652228..45ea21461 100644 --- a/minix/usr.bin/grep/file.c +++ b/minix/usr.bin/grep/file.c @@ -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; diff --git a/minix/usr.bin/grep/grep.h b/minix/usr.bin/grep/grep.h index 255a78fa5..d8f28c75f 100644 --- a/minix/usr.bin/grep/grep.h +++ b/minix/usr.bin/grep/grep.h @@ -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);