Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/grep remove dup includes (already in grep.h)



details:   https://anonhg.NetBSD.org/src/rev/6e02dc1ba6bd
branches:  trunk
changeset: 365296:6e02dc1ba6bd
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Aug 11 16:03:37 2018 +0000

description:
remove dup includes (already in grep.h)

diffstat:

 usr.bin/grep/file.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 6cf1671b87d0 -r 6e02dc1ba6bd usr.bin/grep/file.c
--- a/usr.bin/grep/file.c       Sat Aug 11 12:16:34 2018 +0000
+++ b/usr.bin/grep/file.c       Sat Aug 11 16:03:37 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: file.c,v 1.7 2011/04/18 22:46:48 joerg Exp $   */
+/*     $NetBSD: file.c,v 1.8 2018/08/11 16:03:37 christos Exp $        */
 /*     $FreeBSD: head/usr.bin/grep/file.c 211496 2010-08-19 09:28:59Z des $    */
 /*     $OpenBSD: file.c,v 1.11 2010/07/02 20:48:48 nicm Exp $  */
 
@@ -35,13 +35,12 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: file.c,v 1.7 2011/04/18 22:46:48 joerg Exp $");
+__RCSID("$NetBSD: file.c,v 1.8 2018/08/11 16:03:37 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 
-#include <bzlib.h>
 #include <err.h>
 #include <errno.h>
 #include <fcntl.h>
@@ -51,7 +50,6 @@
 #include <unistd.h>
 #include <wchar.h>
 #include <wctype.h>
-#include <zlib.h>
 
 #include "grep.h"
 



Home | Main Index | Thread Index | Old Index