summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep/binary.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-11-12 22:50:39 +0000
committerderaadt <deraadt@openbsd.org>2013-11-12 22:50:39 +0000
commit4ba547d37eb1ed766b12b175c35882dfbccc8727 (patch)
treea128f232d001202eaeb9c1769b581dd41f23a532 /usr.bin/grep/binary.c
parentensure there are prototypes (diff)
downloadwireguard-openbsd-4ba547d37eb1ed766b12b175c35882dfbccc8727.tar.xz
wireguard-openbsd-4ba547d37eb1ed766b12b175c35882dfbccc8727.zip
simple prototype repairs
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 f62e4e3e7f7..1a22a6b2e71 100644
--- a/usr.bin/grep/binary.c
+++ b/usr.bin/grep/binary.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: binary.c,v 1.17 2011/06/20 18:14:01 stsp Exp $ */
+/* $OpenBSD: binary.c,v 1.18 2013/11/12 22:50:42 deraadt Exp $ */
/*-
* Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav
@@ -34,7 +34,7 @@
#include "grep.h"
-int
+static int
isbinary(const char *buf, size_t n)
{
return (memchr(buf, '\0', n) != NULL);