From 1a2b743f6b4022dada4eeaa96ac47a5c1a2429f5 Mon Sep 17 00:00:00 2001 From: "Simon J. Gerraty" Date: Wed, 8 Jul 2020 18:32:15 +0000 Subject: Import 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. --- lst.lib/lstAtFront.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lst.lib/lstAtFront.c') diff --git a/lst.lib/lstAtFront.c b/lst.lib/lstAtFront.c index d8be166473875..724713c092ed6 100644 --- a/lst.lib/lstAtFront.c +++ b/lst.lib/lstAtFront.c @@ -1,4 +1,4 @@ -/* $NetBSD: lstAtFront.c,v 1.13 2009/01/23 21:26:30 dsl Exp $ */ +/* $NetBSD: lstAtFront.c,v 1.14 2020/07/03 08:37:56 rillig Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -33,14 +33,14 @@ */ #ifndef MAKE_NATIVE -static char rcsid[] = "$NetBSD: lstAtFront.c,v 1.13 2009/01/23 21:26:30 dsl Exp $"; +static char rcsid[] = "$NetBSD: lstAtFront.c,v 1.14 2020/07/03 08:37:56 rillig Exp $"; #else #include #ifndef lint #if 0 static char sccsid[] = "@(#)lstAtFront.c 8.1 (Berkeley) 6/6/93"; #else -__RCSID("$NetBSD: lstAtFront.c,v 1.13 2009/01/23 21:26:30 dsl Exp $"); +__RCSID("$NetBSD: lstAtFront.c,v 1.14 2020/07/03 08:37:56 rillig Exp $"); #endif #endif /* not lint */ #endif @@ -72,5 +72,5 @@ Lst_AtFront(Lst l, void *d) LstNode front; front = Lst_First(l); - return (Lst_InsertBefore(l, front, d)); + return Lst_InsertBefore(l, front, d); } -- cgit v1.2.3