=================================================================== RCS file: /cvs/mandoc/html.h,v retrieving revision 1.12 retrieving revision 1.14 diff -u -p -r1.12 -r1.14 --- mandoc/html.h 2009/10/07 12:35:23 1.12 +++ mandoc/html.h 2009/10/26 08:18:16 1.14 @@ -1,4 +1,4 @@ -/* $Id: html.h,v 1.12 2009/10/07 12:35:23 kristaps Exp $ */ +/* $Id: html.h,v 1.14 2009/10/26 08:18:16 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -62,22 +62,26 @@ 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; - char *val; + const char *val; }; #define PAIR_CLASS_INIT(p, v) \