aboutsummaryrefslogtreecommitdiffstats
path: root/man3/queue.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2015-02-07 08:15:24 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2015-07-16 19:29:35 +0200
commit43e48f9eab1ccbd9437df125a10353d5fa1b27b3 (patch)
treeec5b758f028d7e34e60e89d770973f8289409330 /man3/queue.3
parent929ec2c61d94b4aa526d7ba9dee4d69bfbc730c4 (diff)
downloadman-pages-43e48f9eab1ccbd9437df125a10353d5fa1b27b3.tar.gz
queue.3: Use real hyphens in code samples
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/queue.3')
-rw-r--r--man3/queue.318
1 files changed, 9 insertions, 9 deletions
diff --git a/man3/queue.3 b/man3/queue.3
index cfd424abaa..c4d6910aea 100644
--- a/man3/queue.3
+++ b/man3/queue.3
@@ -501,10 +501,10 @@ SLIST_REMOVE_HEAD(&head, entries); /* Deletion from the head. */
free(n3);
/* Forward traversal. */
SLIST_FOREACH(np, &head, entries)
- np-> ...
+ np\-> ...
.\" /* Safe forward traversal. */
.\"SLIST_FOREACH_SAFE(np, &head, entries, np_temp) {
-.\" np->do_stuff();
+.\" np\->do_stuff();
.\" ...
.\" SLIST_REMOVE(&head, np, entry, entries);
.\" free(np);
@@ -720,10 +720,10 @@ STAILQ_REMOVE_HEAD(&head, entries);
free(n3);
/* Forward traversal. */
STAILQ_FOREACH(np, &head, entries)
- np-> ...
+ np\-> ...
.\" /* Safe forward traversal. */
.\"STAILQ_FOREACH_SAFE(np, &head, entries, np_temp) {
-.\" np->do_stuff();
+.\" np\->do_stuff();
.\" ...
.\" STAILQ_REMOVE(&head, np, entry, entries);
.\" free(np);
@@ -916,11 +916,11 @@ LIST_REMOVE(n2, entries); /* Deletion. */
free(n2);
/* Forward traversal. */
LIST_FOREACH(np, &head, entries)
- np-> ...
+ np\-> ...
.\" /* Safe forward traversal. */
.\" LIST_FOREACH_SAFE(np, &head, entries, np_temp) {
-.\" np->do_stuff();
+.\" np\->do_stuff();
.\" ...
.\" LIST_REMOVE(np, entries);
.\" free(np);
@@ -1177,17 +1177,17 @@ TAILQ_REMOVE(&head, n2, entries); /* Deletion. */
free(n2);
/* Forward traversal. */
TAILQ_FOREACH(np, &head, entries)
- np-> ...
+ np\-> ...
.\" /* Safe forward traversal. */
.\" TAILQ_FOREACH_SAFE(np, &head, entries, np_temp) {
-.\" np->do_stuff();
+.\" np\->do_stuff();
.\" ...
.\" TAILQ_REMOVE(&head, np, entries);
.\" free(np);
.\" }
/* Reverse traversal. */
TAILQ_FOREACH_REVERSE(np, &head, tailhead, entries)
- np-> ...
+ np\-> ...
/* TailQ Deletion. */
while (!TAILQ_EMPTY(&head)) {
n1 = TAILQ_FIRST(&head);