summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep/binary.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2021-03-10 21:55:22 +0000
committermillert <millert@openbsd.org>2021-03-10 21:55:22 +0000
commit19739ec85c7b901d49996236504ede60f2d1a07a (patch)
tree3cec88022b3a7059eaf9e227c76c46c0c33f3bb4 /usr.bin/grep/binary.c
parentOur ACPI namerefs are pointers to the byte structures for ACPI names. (diff)
downloadwireguard-openbsd-19739ec85c7b901d49996236504ede60f2d1a07a.tar.xz
wireguard-openbsd-19739ec85c7b901d49996236504ede60f2d1a07a.zip
zlib functions take a gzFile not gzFile * (gzFile is already a pointer).
From Josh Rickmar.
Diffstat (limited to 'usr.bin/grep/binary.c')
-rw-r--r--usr.bin/grep/binary.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/grep/binary.c b/usr.bin/grep/binary.c
index 1a22a6b2e71..119c9466aed 100644
--- a/usr.bin/grep/binary.c
+++ b/usr.bin/grep/binary.c
@@ -1,4 +1,4 @@
-/* $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
@@ -62,7 +62,7 @@ bin_file(FILE *f)
#ifndef NOZ
int
-gzbin_file(gzFile *f)
+gzbin_file(gzFile f)
{
char buf[BUFSIZ];
int m;