Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man3 One more formatting nit. *sigh*
details: https://anonhg.NetBSD.org/src/rev/759c777fe790
branches: trunk
changeset: 486728:759c777fe790
user: mycroft <mycroft%NetBSD.org@localhost>
date: Sat May 27 22:34:24 2000 +0000
description:
One more formatting nit. *sigh*
diffstat:
share/man/man3/queue.3 | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)
diffs (49 lines):
diff -r 3228367f0b7b -r 759c777fe790 share/man/man3/queue.3
--- a/share/man/man3/queue.3 Sat May 27 22:31:57 2000 +0000
+++ b/share/man/man3/queue.3 Sat May 27 22:34:24 2000 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: queue.3,v 1.14 2000/05/27 22:31:57 mycroft Exp $
+.\" $NetBSD: queue.3,v 1.15 2000/05/27 22:34:24 mycroft Exp $
.\"
.\" Copyright (c) 2000 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -398,8 +398,7 @@
/* Delete. */
while (LIST_FIRST(&head) != NULL)
LIST_REMOVE(LIST_FIRST(&head), entries);
- /* Test for emptiness. */
-if (LIST_EMPTY(&head))
+if (LIST_EMPTY(&head)) /* Test for emptiness. */
printf("nothing to do\\n");
.Ed
.Sh SIMPLE QUEUES
@@ -520,8 +519,7 @@
/* Delete. */
while (SIMPLEQ_FIRST(&head) != NULL)
SIMPLEQ_REMOVE_HEAD(&head, SIMPLEQ_FIRST(&head), entries);
- /* Test for emptiness. */
-if (SIMPLEQ_EMPTY(&head))
+if (SIMPLEQ_EMPTY(&head)) /* Test for emptiness. */
printf("nothing to do\\n");
.Ed
.Sh TAIL QUEUES
@@ -654,8 +652,7 @@
/* Delete. */
while (TAILQ_FIRST(&head) != NULL)
TAILQ_REMOVE(&head, TAILQ_FIRST(&head), entries);
- /* Test for emptiness. */
-if (TAILQ_EMPTY(&head))
+if (TAILQ_EMPTY(&head)) /* Test for emptiness. */
printf("nothing to do\\n");
.Ed
.Sh CIRCULAR QUEUES
@@ -803,8 +800,7 @@
/* Delete. */
while (CIRCLEQ_HEAD(&head) != (void *)&head)
CIRCLEQ_REMOVE(&head, CIRCLEQ_HEAD(&head), entries);
- /* Test for emptiness. */
-if (CIRCLEQ_EMPTY(&head))
+if (CIRCLEQ_EMPTY(&head)) /* Test for emptiness. */
printf("nothing to do\\n");
.Ed
.Sh HISTORY
Home |
Main Index |
Thread Index |
Old Index