From Josh Rickmar.
-/* $OpenBSD: binary.c,v 1.18 2013/11/12 22:50:42 deraadt Exp $ */
+/* $OpenBSD: binary.c,v 1.19 2021/03/10 21:55:22 millert Exp $ */
/*-
* Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav
#ifndef NOZ
int
-gzbin_file(gzFile *f)
+gzbin_file(gzFile f)
{
char buf[BUFSIZ];
int m;
-/* $OpenBSD: file.c,v 1.15 2019/01/31 01:30:46 tedu Exp $ */
+/* $OpenBSD: file.c,v 1.16 2021/03/10 21:55:22 millert Exp $ */
/*-
* Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav
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;
-/* $OpenBSD: grep.h,v 1.27 2019/10/07 17:47:32 tedu Exp $ */
+/* $OpenBSD: grep.h,v 1.28 2021/03/10 21:55:22 millert Exp $ */
/*-
* Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav
/* binary.c */
int bin_file(FILE * f);
-int gzbin_file(gzFile * f);
+int gzbin_file(gzFile f);
int mmbin_file(mmf_t *f);