summaryrefslogtreecommitdiffstats
path: root/libroff.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-10-25 14:35:37 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-10-25 14:35:37 +0000
commit7b96ff8a068bfd465f5368284af0ef9bdd35797a (patch)
tree564893946a11db66d93277f3c1cf4d62ba6d5a2d /libroff.h
parentdd148a56f3f3e29132148b8f2bace859b7590d34 (diff)
downloadmandoc-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libroff.h b/libroff.h
index 03619c82..31aad4bc 100644
--- a/libroff.h
+++ b/libroff.h
@@ -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,