aboutsummaryrefslogtreecommitdiff
path: root/lst.h
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2022-04-03 19:52:08 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2022-04-03 19:52:08 +0000
commita052cb432096794be5070dc68a2b302eaf5a4783 (patch)
treecd03b68b0c23950a43b478568fe6acc80ebb7d87 /lst.h
parent535c59a6a9214436f5d6643775d29808e4b3408d (diff)
downloadsrc-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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lst.h b/lst.h
index 597b687215f7..a5170b420b7a 100644
--- a/lst.h
+++ b/lst.h
@@ -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 *);