aboutsummaryrefslogtreecommitdiff
path: root/lst.lib/lstSucc.c
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2020-07-08 18:32:15 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2020-07-08 18:32:15 +0000
commit1a2b743f6b4022dada4eeaa96ac47a5c1a2429f5 (patch)
treed24792918468eb00f02c40f6f05a4de720d20fef /lst.lib/lstSucc.c
parent6e0296234fdf9b27f5b0d9f884223b7c2b5b3d03 (diff)
Import bmake-20200704vendor/NetBSD/bmake/20200704
from ChangeLog: (most of this by rillig@) o lots of style and white-space cleanup o lots more unit tests for variable modifiers o simplified description of some functions o str.c: refactor Str_Match o var.c: debugging output for :@ constify VarModify parameter fix :hash modifier on 16-bit platforms remove unnecessary forward declarations refactor ApplyModifier_SysV to have less indentation simplify code for :E and :R clean up code for :H and :T refactor ApplyModifiers * var.c: we need stdint.h on some platforms to get uint32_t * unit-test/Makefile: we need to supress the specific error for RE substitution error in modmisc, since it varies accross different OS.
Notes
Notes: svn path=/vendor/NetBSD/bmake/dist/; revision=363018 svn path=/vendor/NetBSD/bmake/20200704/; revision=363019; tag=vendor/NetBSD/bmake/20200704
Diffstat (limited to 'lst.lib/lstSucc.c')
-rw-r--r--lst.lib/lstSucc.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/lst.lib/lstSucc.c b/lst.lib/lstSucc.c
index 3f13aa5e7f66..b3f73bb15fd2 100644
--- a/lst.lib/lstSucc.c
+++ b/lst.lib/lstSucc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: lstSucc.c,v 1.13 2008/12/13 15:19:29 dsl Exp $ */
+/* $NetBSD: lstSucc.c,v 1.14 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: lstSucc.c,v 1.13 2008/12/13 15:19:29 dsl Exp $";
+static char rcsid[] = "$NetBSD: lstSucc.c,v 1.14 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: lstSucc.c,v 1.13 2008/12/13 15:19:29 dsl Exp $");
+__RCSID("$NetBSD: lstSucc.c,v 1.14 2020/07/03 08:37:57 rillig Exp $");
#endif
#endif /* not lint */
#endif
@@ -73,7 +73,6 @@ Lst_Succ(LstNode ln)
if (ln == NULL) {
return NULL;
} else {
- return (ln->nextPtr);
+ return ln->nextPtr;
}
}
-