diff options
Diffstat (limited to 'usr.bin/grep/binary.c')
-rw-r--r-- | usr.bin/grep/binary.c | 4 |
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); |