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/f44e5bd86f91
branches: trunk
changeset: 943315:f44e5bd86f91
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 e5ec810d9c9b -r f44e5bd86f91 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