Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make make(1): clean up comments in list functions
details: https://anonhg.NetBSD.org/src/rev/c9f403bbcb7a
branches: trunk
changeset: 945240:c9f403bbcb7a
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Oct 24 10:18:29 2020 +0000
description:
make(1): clean up comments in list functions
diffstat:
usr.bin/make/lst.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (37 lines):
diff -r 25602cd01741 -r c9f403bbcb7a usr.bin/make/lst.c
--- a/usr.bin/make/lst.c Sat Oct 24 10:17:21 2020 +0000
+++ b/usr.bin/make/lst.c Sat Oct 24 10:18:29 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lst.c,v 1.85 2020/10/24 09:03:54 rillig Exp $ */
+/* $NetBSD: lst.c,v 1.86 2020/10/24 10:18:29 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -34,7 +34,7 @@
#include "make.h"
-MAKE_RCSID("$NetBSD: lst.c,v 1.85 2020/10/24 09:03:54 rillig Exp $");
+MAKE_RCSID("$NetBSD: lst.c,v 1.86 2020/10/24 10:18:29 rillig Exp $");
static ListNode *
LstNodeNew(ListNode *prev, ListNode *next, void *datum)
@@ -77,7 +77,7 @@
return newList;
}
-/* Free a list and all its nodes. The list data itself are not freed though. */
+/* Free a list and all its nodes. The node data are not freed though. */
void
Lst_Free(List *list)
{
@@ -113,8 +113,7 @@
* Functions to modify a list
*/
-/* Insert a new node with the given piece of data before the given node in the
- * given list. */
+/* Insert a new node with the datum before the given node. */
void
Lst_InsertBefore(List *list, ListNode *node, void *datum)
{
Home |
Main Index |
Thread Index |
Old Index