diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-26 08:18:15 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-26 08:18:15 +0000 |
commit | b7c56901be15b5853782a4ab0a8f85b745792d05 (patch) | |
tree | cfa8c49e546acb1c55de7195efe25105b79cb65b /man_html.c | |
parent | 65f3d725ab6475bef0a83e1077c3ce2be3557598 (diff) | |
download | mandoc-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.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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); |