aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitb7c56901be15b5853782a4ab0a8f85b745792d05 (patch)
treecfa8c49e546acb1c55de7195efe25105b79cb65b /html.h
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 'html.h')
-rw-r--r--html.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/html.h b/html.h
index 1bb688e1..ea2b98c6 100644
--- a/html.h
+++ b/html.h
@@ -1,4 +1,4 @@
-/* $Id: html.h,v 1.13 2009/10/13 10:21:24 kristaps Exp $ */
+/* $Id: html.h,v 1.14 2009/10/26 08:18:16 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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;