summaryrefslogtreecommitdiffstats
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
commit03ddeec98e2d42a4ed7f64e0773bfab105475220 (patch)
tree086157d72162ea60c2cebbad82325c7de9e5346e /man_html.c
parentdc421841e876bb44d10487c5107d5c931123afa2 (diff)
downloadmandoc-03ddeec98e2d42a4ed7f64e0773bfab105475220.tar.gz
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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/man_html.c b/man_html.c
index 113d00b2..eb6abebf 100644
--- a/man_html.c
+++ b/man_html.c
@@ -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);