summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/html.h
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2009-10-27 21:40:07 +0000
committerschwarze <schwarze@openbsd.org>2009-10-27 21:40:07 +0000
commitb822ca0d77807d44eec5a00444afad079a24e43c (patch)
tree61739724919c5c74eb5ced4fd954890ec97056bc /usr.bin/mandoc/html.h
parentupdate moduli file; ok deraadt (diff)
downloadwireguard-openbsd-b822ca0d77807d44eec5a00444afad079a24e43c.tar.xz
wireguard-openbsd-b822ca0d77807d44eec5a00444afad079a24e43c.zip
sync to 1.9.11: adapt printing of dates to groff conventions,
NetBSD portability fixes and some minor bugfixes and feature enhancements; also checked that my hyphenation code still works on top of this
Diffstat (limited to 'usr.bin/mandoc/html.h')
-rw-r--r--usr.bin/mandoc/html.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/usr.bin/mandoc/html.h b/usr.bin/mandoc/html.h
index 5f2362e1339..6829ab8cb7e 100644
--- a/usr.bin/mandoc/html.h
+++ b/usr.bin/mandoc/html.h
@@ -1,4 +1,4 @@
-/* $Id: html.h,v 1.1 2009/10/21 19:13:50 schwarze Exp $ */
+/* $Id: html.h,v 1.2 2009/10/27 21:40:07 schwarze 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;