Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9 altq.9: remove CONSTCOND comment from example...
details: https://anonhg.NetBSD.org/src/rev/97d2e1ca7b3b
branches: trunk
changeset: 366432:97d2e1ca7b3b
user: rillig <rillig%NetBSD.org@localhost>
date: Thu May 26 14:39:30 2022 +0000
description:
altq.9: remove CONSTCOND comment from example code
Since 2021-01-31, lint no longer needs CONSTCOND in a do-while loop.
diffstat:
share/man/man9/altq.9 | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r fd1d13476f2f -r 97d2e1ca7b3b share/man/man9/altq.9
--- a/share/man/man9/altq.9 Thu May 26 14:33:29 2022 +0000
+++ b/share/man/man9/altq.9 Thu May 26 14:39:30 2022 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: altq.9,v 1.17 2018/03/21 10:21:17 wiz Exp $
+.\" $NetBSD: altq.9,v 1.18 2022/05/26 14:39:30 rillig Exp $
.\" $OpenBSD: altq.9,v 1.4 2001/07/12 12:41:42 itojun Exp $
.\"
.\" Copyright (C) 2001
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd March 20, 2018
+.Dd May 26, 2022
.Dt ALTQ 9
.Os
.\"
@@ -228,7 +228,7 @@
} \e
if ((err)) \e
(ifq)->ifq_drops++; \e
-} while (/*CONSTCOND*/ 0)
+} while (false)
.Ed
.Pp
.Fn IFQ_ENQUEUE
Home |
Main Index |
Thread Index |
Old Index