summaryrefslogtreecommitdiffstats
path: root/html.h
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 /html.h
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 'html.h')
-rw-r--r--html.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/html.h b/html.h
index 6846c965..9a1df429 100644
--- a/html.h
+++ b/html.h
@@ -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;