diff options
author | Simon J. Gerraty <sjg@FreeBSD.org> | 2022-04-03 19:52:08 +0000 |
---|---|---|
committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2022-04-03 19:52:08 +0000 |
commit | a052cb432096794be5070dc68a2b302eaf5a4783 (patch) | |
tree | cd03b68b0c23950a43b478568fe6acc80ebb7d87 /lst.h | |
parent | 535c59a6a9214436f5d6643775d29808e4b3408d (diff) | |
download | src-a052cb432096794be5070dc68a2b302eaf5a4783.tar.gz src-a052cb432096794be5070dc68a2b302eaf5a4783.zip |
Import bmake-20220330vendor/NetBSD/bmake/20220330
Most relevant change:
o parse.c: try to include 'posix.mk' the first time
.POSIX: is encountered, to allow for beter POSIX compliance.
Others
o cond.c: make debug logging for comparisons less technical
o lst.c: fix mem leak in Lst_Remove
o job.c: fix echoing of command with '-' in silent target in jobs mode
o var.c: make debug logs more readable
prefer 'long long' over 'long' on 32-bit C99 platforms
fix crash on .undef of an environment variable
Diffstat (limited to 'lst.h')
-rw-r--r-- | lst.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $NetBSD: lst.h,v 1.102 2021/12/15 12:24:13 rillig Exp $ */ +/* $NetBSD: lst.h,v 1.103 2022/03/03 19:55:27 rillig Exp $ */ /* * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. @@ -142,9 +142,9 @@ ListNode *Lst_FindDatum(List *, const void *) MAKE_ATTR_USE; /* Insert a datum before the given node. */ void Lst_InsertBefore(List *, ListNode *, void *); -/* Add a datum at the front of the list. */ +/* Add a datum at the head of the list. */ void Lst_Prepend(List *, void *); -/* Add a datum at the end of the list. */ +/* Add a datum at the tail of the list. */ void Lst_Append(List *, void *); /* Remove the node from the list. */ void Lst_Remove(List *, ListNode *); |