Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make Delete obsolete static defn.



details:   https://anonhg.NetBSD.org/src/rev/7317fa7e5539
branches:  trunk
changeset: 588205:7317fa7e5539
user:      dsl <dsl%NetBSD.org@localhost>
date:      Sat Feb 11 20:19:36 2006 +0000

description:
Delete obsolete static defn.
Trace number of unmade children on pass 1

diffstat:

 usr.bin/make/targ.c |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (44 lines):

diff -r a0bd8f2dd92d -r 7317fa7e5539 usr.bin/make/targ.c
--- a/usr.bin/make/targ.c       Sat Feb 11 20:15:53 2006 +0000
+++ b/usr.bin/make/targ.c       Sat Feb 11 20:19:36 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: targ.c,v 1.40 2006/02/11 18:37:36 dsl Exp $    */
+/*     $NetBSD: targ.c,v 1.41 2006/02/11 20:19:36 dsl Exp $    */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -69,14 +69,14 @@
  */
 
 #ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: targ.c,v 1.40 2006/02/11 18:37:36 dsl Exp $";
+static char rcsid[] = "$NetBSD: targ.c,v 1.41 2006/02/11 20:19:36 dsl Exp $";
 #else
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static char sccsid[] = "@(#)targ.c     8.2 (Berkeley) 3/19/94";
 #else
-__RCSID("$NetBSD: targ.c,v 1.40 2006/02/11 18:37:36 dsl Exp $");
+__RCSID("$NetBSD: targ.c,v 1.41 2006/02/11 20:19:36 dsl Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -141,7 +141,6 @@
 
 static int TargPrintOnlySrc(ClientData, ClientData);
 static int TargPrintName(ClientData, ClientData);
-static int TargPrintNode(ClientData, ClientData);
 #ifdef CLEANUP
 static void TargFreeGN(ClientData);
 #endif
@@ -657,6 +656,9 @@
                Lst_ForEach(gn->iParents, TargPrintName, (ClientData)0);
                fputc('\n', stdout);
            }
+       } else {
+           if (gn->unmade)
+               printf("# %d unmade children\n", gn->unmade);
        }
        if (!Lst_IsEmpty (gn->parents)) {
            printf("# parents: ");



Home | Main Index | Thread Index | Old Index