Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make make(1): remove redundant includes



details:   https://anonhg.NetBSD.org/src/rev/0e40174ddcb3
branches:  trunk
changeset: 938384:0e40174ddcb3
user:      rillig <rillig%NetBSD.org@localhost>
date:      Mon Sep 07 06:20:07 2020 +0000

description:
make(1): remove redundant includes

diffstat:

 usr.bin/make/make.c |  7 +++----
 usr.bin/make/var.c  |  7 +++----
 2 files changed, 6 insertions(+), 8 deletions(-)

diffs (68 lines):

diff -r fc6c87203f76 -r 0e40174ddcb3 usr.bin/make/make.c
--- a/usr.bin/make/make.c       Mon Sep 07 06:01:11 2020 +0000
+++ b/usr.bin/make/make.c       Mon Sep 07 06:20:07 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: make.c,v 1.133 2020/08/30 14:11:42 rillig Exp $        */
+/*     $NetBSD: make.c,v 1.134 2020/09/07 06:20:07 rillig Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -69,14 +69,14 @@
  */
 
 #ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: make.c,v 1.133 2020/08/30 14:11:42 rillig Exp $";
+static char rcsid[] = "$NetBSD: make.c,v 1.134 2020/09/07 06:20:07 rillig Exp $";
 #else
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static char sccsid[] = "@(#)make.c     8.1 (Berkeley) 6/6/93";
 #else
-__RCSID("$NetBSD: make.c,v 1.133 2020/08/30 14:11:42 rillig Exp $");
+__RCSID("$NetBSD: make.c,v 1.134 2020/09/07 06:20:07 rillig Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -116,7 +116,6 @@
  */
 
 #include    "make.h"
-#include    "enum.h"
 #include    "dir.h"
 #include    "job.h"
 
diff -r fc6c87203f76 -r 0e40174ddcb3 usr.bin/make/var.c
--- a/usr.bin/make/var.c        Mon Sep 07 06:01:11 2020 +0000
+++ b/usr.bin/make/var.c        Mon Sep 07 06:20:07 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: var.c,v 1.487 2020/09/04 20:28:15 rillig Exp $ */
+/*     $NetBSD: var.c,v 1.488 2020/09/07 06:20:07 rillig Exp $ */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -69,14 +69,14 @@
  */
 
 #ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: var.c,v 1.487 2020/09/04 20:28:15 rillig Exp $";
+static char rcsid[] = "$NetBSD: var.c,v 1.488 2020/09/07 06:20:07 rillig Exp $";
 #else
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static char sccsid[] = "@(#)var.c      8.3 (Berkeley) 3/19/94";
 #else
-__RCSID("$NetBSD: var.c,v 1.487 2020/09/04 20:28:15 rillig Exp $");
+__RCSID("$NetBSD: var.c,v 1.488 2020/09/07 06:20:07 rillig Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -129,7 +129,6 @@
 #include    <time.h>
 
 #include    "make.h"
-#include    "enum.h"
 #include    "dir.h"
 #include    "job.h"
 #include    "metachar.h"



Home | Main Index | Thread Index | Old Index