diff options
author | 2008-10-16 22:56:32 +0000 | |
---|---|---|
committer | 2008-10-16 22:56:32 +0000 | |
commit | becf52eadd1ae2557e6f86208b80ceea160b2aea (patch) | |
tree | 473e5516fe9f16963a330f90cc77ff5c1e9b608d | |
parent | use O_CREAT in -C mode too, for in case it is not there the first time (diff) | |
download | wireguard-openbsd-becf52eadd1ae2557e6f86208b80ceea160b2aea.tar.xz wireguard-openbsd-becf52eadd1ae2557e6f86208b80ceea160b2aea.zip |
two globals not needed in NOZ mode
-rw-r--r-- | usr.bin/grep/file.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/grep/file.c b/usr.bin/grep/file.c index fd935574204..a29affb8460 100644 --- a/usr.bin/grep/file.c +++ b/usr.bin/grep/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.9 2006/02/09 09:54:46 otto Exp $ */ +/* $OpenBSD: file.c,v 1.10 2008/10/16 22:56:32 deraadt Exp $ */ /*- * Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav @@ -36,8 +36,10 @@ #include "grep.h" static char fname[MAXPATHLEN]; +#ifndef NOZ static char *lnbuf; static size_t lnbuflen; +#endif #define FILE_STDIO 0 #define FILE_MMAP 1 |