summaryrefslogtreecommitdiff
path: root/usr.bin/make/gnode.h
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2013-05-14 18:47:41 +0000
committerMarc Espie <espie@cvs.openbsd.org>2013-05-14 18:47:41 +0000
commit3d9a18849a92316ad3f00a9d6d89a19b6f81bd69 (patch)
treea92d959343804934a9c79863062d150c354b18ee /usr.bin/make/gnode.h
parent6ce98bea7374981e4ae39e8dd712cb7ae2b766ef (diff)
keep track of the youngest child, helps a lot with out-of-date messages
in -dm mode. okay millert@
Diffstat (limited to 'usr.bin/make/gnode.h')
-rw-r--r--usr.bin/make/gnode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/make/gnode.h b/usr.bin/make/gnode.h
index 7c98d2e2d5b..746dfe1c732 100644
--- a/usr.bin/make/gnode.h
+++ b/usr.bin/make/gnode.h
@@ -1,6 +1,6 @@
#ifndef GNODE_H
#define GNODE_H
-/* $OpenBSD: gnode.h,v 1.24 2013/04/23 14:32:53 espie Exp $ */
+/* $OpenBSD: gnode.h,v 1.25 2013/05/14 18:47:40 espie Exp $ */
/*
* Copyright (c) 2001 Marc Espie.
@@ -146,6 +146,7 @@ struct GNode_ {
struct timespec cmtime; /* The modification time of its youngest
* child */
+ GNode *youngest;
GNode *impliedsrc;
LIST cohorts; /* Other nodes for the :: operator */
LIST parents; /* Nodes that depend on this one */