diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-25 14:35:37 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-25 14:35:37 +0000 |
commit | 7b96ff8a068bfd465f5368284af0ef9bdd35797a (patch) | |
tree | 564893946a11db66d93277f3c1cf4d62ba6d5a2d /libroff.h | |
parent | dd148a56f3f3e29132148b8f2bace859b7590d34 (diff) | |
download | mandoc-7b96ff8a068bfd465f5368284af0ef9bdd35797a.tar.gz |
Report arguments to .EQ as an error, and simplify the code:
* drop trivial wrapper function roff_openeqn()
* drop unused first arg of function eqn_alloc()
* drop usused member "name" of struct eqn_node
While here, sync to OpenBSD by killing some trailing blanks.
Diffstat (limited to 'libroff.h')
-rw-r--r-- | libroff.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -77,7 +77,7 @@ int tbl_data(struct tbl_node *, int, const char *); int tbl_cdata(struct tbl_node *, int, const char *); const struct tbl_span *tbl_span(struct tbl_node *); void tbl_end(struct tbl_node **); -struct eqn_node *eqn_alloc(const char *, int, int, struct mparse *); +struct eqn_node *eqn_alloc(int, int, struct mparse *); enum rofferr eqn_end(struct eqn_node **); void eqn_free(struct eqn_node *); enum rofferr eqn_read(struct eqn_node **, int, |