summaryrefslogtreecommitdiffstats
path: root/roff_int.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-07-08 14:51:04 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-07-08 14:51:04 +0000
commitd0fd318699f4643ac39d3c0a9d6676fd495f5aaf (patch)
tree65266c33c4abb371cf05c015eb528326665059c6 /roff_int.h
parent244d91e692e1b324ecf144eb153c3ded672b57d1 (diff)
downloadmandoc-d0fd318699f4643ac39d3c0a9d6676fd495f5aaf.tar.gz
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 'roff_int.h')
-rw-r--r--roff_int.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/roff_int.h b/roff_int.h
index a0d3caae..81a4bec4 100644
--- a/roff_int.h
+++ b/roff_int.h
@@ -25,7 +25,6 @@ void roff_elem_alloc(struct roff_man *, int, int, int);
struct roff_node *roff_block_alloc(struct roff_man *, int, int, int);
struct roff_node *roff_head_alloc(struct roff_man *, int, int, int);
struct roff_node *roff_body_alloc(struct roff_man *, int, int, int);
-void roff_addeqn(struct roff_man *, const struct eqn *);
void roff_addtbl(struct roff_man *, const struct tbl_span *);
void roff_node_unlink(struct roff_man *, struct roff_node *);
void roff_node_free(struct roff_node *);