Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/lint1 lint: clean up comments for handling 'li...
details: https://anonhg.NetBSD.org/src/rev/93dcc8ba70ad
branches: trunk
changeset: 374048:93dcc8ba70ad
user: rillig <rillig%NetBSD.org@localhost>
date: Tue Mar 28 20:01:21 2023 +0000
description:
lint: clean up comments for handling 'linted' comments
No functional change.
diffstat:
usr.bin/xlint/lint1/func.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diffs (30 lines):
diff -r ba9010efec61 -r 93dcc8ba70ad usr.bin/xlint/lint1/func.c
--- a/usr.bin/xlint/lint1/func.c Tue Mar 28 19:55:42 2023 +0000
+++ b/usr.bin/xlint/lint1/func.c Tue Mar 28 20:01:21 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: func.c,v 1.150 2023/03/28 14:44:35 rillig Exp $ */
+/* $NetBSD: func.c,v 1.151 2023/03/28 20:01:21 rillig Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,7 +37,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID)
-__RCSID("$NetBSD: func.c,v 1.150 2023/03/28 14:44:35 rillig Exp $");
+__RCSID("$NetBSD: func.c,v 1.151 2023/03/28 20:01:21 rillig Exp $");
#endif
#include <stdlib.h>
@@ -1324,10 +1324,7 @@ lintlib(int n)
vflag = false;
}
-/*
- * Suppress most warnings at the current and the following line.
- */
-/* ARGSUSED */
+/* Suppress one or most warnings at the current and the following line. */
void
linted(int n)
{
Home |
Main Index |
Thread Index |
Old Index