diff options
| author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-26 08:18:15 +0000 |
|---|---|---|
| committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-26 08:18:15 +0000 |
| commit | b7c56901be15b5853782a4ab0a8f85b745792d05 (patch) | |
| tree | cfa8c49e546acb1c55de7195efe25105b79cb65b /html.h | |
| parent | 65f3d725ab6475bef0a83e1077c3ce2be3557598 (diff) | |
| download | mandoc-b7c56901be15b5853782a4ab0a8f85b745792d05.tar.gz 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.h | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -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; |
