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): remove wrong comment for VarUniq



details:   https://anonhg.NetBSD.org/src/rev/b7f201432396
branches:  trunk
changeset: 936413:b7f201432396
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Jul 26 17:10:56 2020 +0000

description:
make(1): remove wrong comment for VarUniq

VarUniq is not about sorting the words.

diffstat:

 usr.bin/make/var.c |  23 ++++-------------------
 1 files changed, 4 insertions(+), 19 deletions(-)

diffs (50 lines):

diff -r 198c984346b3 -r b7f201432396 usr.bin/make/var.c
--- a/usr.bin/make/var.c        Sun Jul 26 17:09:23 2020 +0000
+++ b/usr.bin/make/var.c        Sun Jul 26 17:10:56 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: var.c,v 1.318 2020/07/26 17:09:23 rillig Exp $ */
+/*     $NetBSD: var.c,v 1.319 2020/07/26 17:10:56 rillig Exp $ */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -69,14 +69,14 @@
  */
 
 #ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: var.c,v 1.318 2020/07/26 17:09:23 rillig Exp $";
+static char rcsid[] = "$NetBSD: var.c,v 1.319 2020/07/26 17:10:56 rillig Exp $";
 #else
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static char sccsid[] = "@(#)var.c      8.3 (Berkeley) 3/19/94";
 #else
-__RCSID("$NetBSD: var.c,v 1.318 2020/07/26 17:09:23 rillig Exp $");
+__RCSID("$NetBSD: var.c,v 1.319 2020/07/26 17:10:56 rillig Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -1711,22 +1711,7 @@
 }
 
 
-/*-
- *-----------------------------------------------------------------------
- * VarUniq --
- *     Remove adjacent duplicate words.
- *
- * Input:
- *     str             String whose words should be sorted
- *
- * Results:
- *     A string containing the resulting words.
- *
- * Side Effects:
- *     None.
- *
- *-----------------------------------------------------------------------
- */
+/* Remove adjacent duplicate words. */
 static char *
 VarUniq(const char *str)
 {



Home | Main Index | Thread Index | Old Index