From 7b96ff8a068bfd465f5368284af0ef9bdd35797a Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 25 Oct 2014 14:35:37 +0000 Subject: 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. --- libroff.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libroff.h') 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, -- cgit