From b822ca0d77807d44eec5a00444afad079a24e43c Mon Sep 17 00:00:00 2001 From: schwarze Date: Tue, 27 Oct 2009 21:40:07 +0000 Subject: 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 --- usr.bin/mandoc/html.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'usr.bin/mandoc/html.h') 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 * @@ -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; -- cgit v1.2.3-59-g8ed1b