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 | 03ddeec98e2d42a4ed7f64e0773bfab105475220 (patch) | |
tree | 086157d72162ea60c2cebbad82325c7de9e5346e /html.h | |
parent | dc421841e876bb44d10487c5107d5c931123afa2 (diff) | |
download | mandoc-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 'html.h')
-rw-r--r-- | html.h | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -62,18 +62,22 @@ enum htmlattr { }; struct tag { + struct tag *next; enum htmltag tag; - SLIST_ENTRY(tag) entry; }; struct ord { - int pos; + struct ord *next; const void *cookie; - SLIST_ENTRY(ord) entry; + int pos; }; -SLIST_HEAD(tagq, tag); -SLIST_HEAD(ordq, ord); +struct tagq { + struct tag *head; +}; +struct ordq { + struct ord *head; +}; struct htmlpair { enum htmlattr key; |