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/5f3ebbc45a9e
branches: trunk
changeset: 1015487:5f3ebbc45a9e
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 ddb3646597fc -r 5f3ebbc45a9e 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