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): fix comment for Lst_Destroy
details: https://anonhg.NetBSD.org/src/rev/efe79d78077d
branches: trunk
changeset: 938019:efe79d78077d
user: rillig <rillig%NetBSD.org@localhost>
date: Sun Aug 30 21:20:06 2020 +0000
description:
make(1): fix comment for Lst_Destroy
diffstat:
usr.bin/make/lst.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (34 lines):
diff -r 9c6d7ead849f -r efe79d78077d usr.bin/make/lst.c
--- a/usr.bin/make/lst.c Sun Aug 30 21:12:45 2020 +0000
+++ b/usr.bin/make/lst.c Sun Aug 30 21:20:06 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lst.c,v 1.58 2020/08/30 11:15:05 rillig Exp $ */
+/* $NetBSD: lst.c,v 1.59 2020/08/30 21:20:06 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -37,11 +37,11 @@
#include "make.h"
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: lst.c,v 1.58 2020/08/30 11:15:05 rillig Exp $";
+static char rcsid[] = "$NetBSD: lst.c,v 1.59 2020/08/30 21:20:06 rillig Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: lst.c,v 1.58 2020/08/30 11:15:05 rillig Exp $");
+__RCSID("$NetBSD: lst.c,v 1.59 2020/08/30 21:20:06 rillig Exp $");
#endif /* not lint */
#endif
@@ -147,8 +147,8 @@
free(list);
}
-/* Destroy a list and free all its resources. If the freeProc is given, it is
- * called with the datum from each node in turn before the node is freed. */
+/* Destroy a list and free all its resources. The freeProc is called with the
+ * datum from each node in turn before the node is freed. */
void
Lst_Destroy(Lst list, LstFreeProc freeProc)
{
Home |
Main Index |
Thread Index |
Old Index