diff options
| author | rillig <rillig@NetBSD.org> | 2020-11-28 19:22:32 +0000 |
|---|---|---|
| committer | rillig <rillig@NetBSD.org> | 2020-11-28 19:22:32 +0000 |
| commit | c2bf9267317716d3cf18680ebdbef831c614e02b (patch) | |
| tree | 86c9c4443aa1cd3e72fafc837a69cb056c944b84 /usr.bin/make/make.c | |
| parent | def2c3cfa3825586815315bb411efa7d8e7c4c46 (diff) | |
make(1): reduce pointer indirection for GNode.implicitParents
Diffstat (limited to 'usr.bin/make/make.c')
| -rw-r--r-- | usr.bin/make/make.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/make/make.c b/usr.bin/make/make.c index 5861e725019..668725a7f21 100644 --- a/usr.bin/make/make.c +++ b/usr.bin/make/make.c @@ -1,4 +1,4 @@ -/* $NetBSD: make.c,v 1.222 2020/11/28 19:20:03 rillig Exp $ */ +/* $NetBSD: make.c,v 1.223 2020/11/28 19:22:32 rillig Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -102,7 +102,7 @@ #include "job.h" /* "@(#)make.c 8.1 (Berkeley) 6/6/93" */ -MAKE_RCSID("$NetBSD: make.c,v 1.222 2020/11/28 19:20:03 rillig Exp $"); +MAKE_RCSID("$NetBSD: make.c,v 1.223 2020/11/28 19:22:32 rillig Exp $"); /* Sequence # to detect recursion. */ static unsigned int checked_seqno = 1; @@ -550,7 +550,7 @@ UpdateImplicitParentsVars(GNode *cgn, const char *cname) GNodeListNode *ln; const char *cpref = GNode_VarPrefix(cgn); - for (ln = cgn->implicitParents->first; ln != NULL; ln = ln->next) { + for (ln = cgn->implicitParents.first; ln != NULL; ln = ln->next) { GNode *pgn = ln->datum; if (pgn->flags & REMAKE) { Var_Set(IMPSRC, cname, pgn); |
