diff options
author | Simon J. Gerraty <sjg@FreeBSD.org> | 2020-07-12 01:11:48 +0000 |
---|---|---|
committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2020-07-12 01:11:48 +0000 |
commit | 3841c287170be8b1cba4d9adf8e727ecaeb64518 (patch) | |
tree | 3eb25d967284f660b3c9969f9127a7597c4ecf24 /contrib/bmake/lst.lib/lstPrev.c | |
parent | cdfea68b4415e916b29b4f1ce67cedf5cb8f0071 (diff) | |
parent | 367d32e2b15fe0397ddecccaa04cf9ed0164c969 (diff) |
Update to bmake-20200710
Key changes include reduced noise at end of failed build log
and avoid evaluation of unnecessary terms in conditionals.
In META MODE; a target flagged .META is out-of-date if meta file
is missing
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=363117
Diffstat (limited to 'contrib/bmake/lst.lib/lstPrev.c')
-rw-r--r-- | contrib/bmake/lst.lib/lstPrev.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/contrib/bmake/lst.lib/lstPrev.c b/contrib/bmake/lst.lib/lstPrev.c index 0ec865d51652..b6c548d9a523 100644 --- a/contrib/bmake/lst.lib/lstPrev.c +++ b/contrib/bmake/lst.lib/lstPrev.c @@ -1,4 +1,4 @@ -/* $NetBSD: lstPrev.c,v 1.3 2008/12/13 15:19:29 dsl Exp $ */ +/* $NetBSD: lstPrev.c,v 1.4 2020/07/03 08:37:57 rillig Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -33,14 +33,14 @@ */ #ifndef MAKE_NATIVE -static char rcsid[] = "$NetBSD: lstPrev.c,v 1.3 2008/12/13 15:19:29 dsl Exp $"; +static char rcsid[] = "$NetBSD: lstPrev.c,v 1.4 2020/07/03 08:37:57 rillig Exp $"; #else #include <sys/cdefs.h> #ifndef lint #if 0 static char sccsid[] = "@(#)lstSucc.c 8.1 (Berkeley) 6/6/93"; #else -__RCSID("$NetBSD: lstPrev.c,v 1.3 2008/12/13 15:19:29 dsl Exp $"); +__RCSID("$NetBSD: lstPrev.c,v 1.4 2020/07/03 08:37:57 rillig Exp $"); #endif #endif /* not lint */ #endif @@ -73,7 +73,6 @@ Lst_Prev(LstNode ln) if (ln == NULL) { return NULL; } else { - return (ln->prevPtr); + return ln->prevPtr; } } - |