diff options
author | 2017-07-08 14:51:01 +0000 | |
---|---|---|
committer | 2017-07-08 14:51:01 +0000 | |
commit | bf9acac66c431046e615cdd37343d6e3c7a2f22f (patch) | |
tree | 5f29685b567e9bbbc7d0b9c2ab56eddd6adccd6b /usr.bin/mandoc/html.h | |
parent | - For RTL8188CUS/RTL8192CU, we have to force 8051 reset/enable before waiting (diff) | |
download | wireguard-openbsd-bf9acac66c431046e615cdd37343d6e3c7a2f22f.tar.xz wireguard-openbsd-bf9acac66c431046e615cdd37343d6e3c7a2f22f.zip |
1. Eliminate struct eqn, instead use the existing members
of struct roff_node which is allocated for each equation anyway.
2. Do not keep a list of equation parsers, one parser is enough.
Minus fifty lines of code, no functional change.
Diffstat (limited to 'usr.bin/mandoc/html.h')
-rw-r--r-- | usr.bin/mandoc/html.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mandoc/html.h b/usr.bin/mandoc/html.h index 94fd0594f4a..234ab44c60a 100644 --- a/usr.bin/mandoc/html.h +++ b/usr.bin/mandoc/html.h @@ -1,4 +1,4 @@ -/* $OpenBSD: html.h,v 1.48 2017/06/23 02:31:39 schwarze Exp $ */ +/* $OpenBSD: html.h,v 1.49 2017/07/08 14:51:01 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -115,7 +115,7 @@ struct html { struct roff_node; struct tbl_span; -struct eqn; +struct eqn_box; void roff_html_pre(struct html *, const struct roff_node *); @@ -127,7 +127,7 @@ void print_stagq(struct html *, const struct tag *); void print_text(struct html *, const char *); void print_tblclose(struct html *); void print_tbl(struct html *, const struct tbl_span *); -void print_eqn(struct html *, const struct eqn *); +void print_eqn(struct html *, const struct eqn_box *); void print_paragraph(struct html *); void print_endline(struct html *); |