summaryrefslogtreecommitdiffstatshomepage
path: root/man_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-26 08:18:15 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-26 08:18:15 +0000
commitb7c56901be15b5853782a4ab0a8f85b745792d05 (patch)
treecfa8c49e546acb1c55de7195efe25105b79cb65b /man_html.c
parent65f3d725ab6475bef0a83e1077c3ce2be3557598 (diff)
downloadmandoc-b7c56901be15b5853782a4ab0a8f85b745792d05.tar.gz
mandoc-b7c56901be15b5853782a4ab0a8f85b745792d05.tar.zst
mandoc-b7c56901be15b5853782a4ab0a8f85b745792d05.zip
Portability: replaced queue macros in html.c (Joerg Sonnenberger).
Fixed "-o" residue. Added "-O" to usage() (-o didn't appear there either).
Diffstat (limited to 'man_html.c')
-rw-r--r--man_html.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/man_html.c b/man_html.c
index 3ff82ae9..82fed356 100644
--- a/man_html.c
+++ b/man_html.c
@@ -1,4 +1,4 @@
-/* $Id: man_html.c,v 1.13 2009/10/24 05:45:04 kristaps Exp $ */
+/* $Id: man_html.c,v 1.14 2009/10/26 08:18:16 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -15,7 +15,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <sys/types.h>
-#include <sys/queue.h>
#include <assert.h>
#include <ctype.h>
@@ -180,7 +179,7 @@ print_man_node(MAN_ARGS)
struct tag *t;
child = 1;
- t = SLIST_FIRST(&h->tags);
+ t = h->tags.head;
bufinit(h);