diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-10-16 22:56:33 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-10-16 22:56:33 +0000 |
commit | ab3e274196a1e98ea7275ad0b0ed2a41dfb753af (patch) | |
tree | 5ba64af5ce9638ef428395de91382a7a2c034cbf /usr.bin | |
parent | 56360a69f7a1a6fff3b8a467ec0c1bc4fbde99b9 (diff) |
two globals not needed in NOZ mode
Diffstat (limited to 'usr.bin')
-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 |