aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit75b610f7273e99110015abd22311fcb909e0abd3 (patch)
tree1171b69288b6d8040fd7f78f35d9b239237219b3 /libroff.h
parentb862a185d00afc5c08a5353e6bc4633818b058cc (diff)
downloadmandoc-75b610f7273e99110015abd22311fcb909e0abd3.tar.gz
mandoc-75b610f7273e99110015abd22311fcb909e0abd3.tar.zst
mandoc-75b610f7273e99110015abd22311fcb909e0abd3.zip
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libroff.h b/libroff.h
index e6d3edb7..bd9bcd22 100644
--- a/libroff.h
+++ b/libroff.h
@@ -1,4 +1,4 @@
-/* $Id: libroff.h,v 1.30 2014/10/16 01:11:20 schwarze Exp $ */
+/* $Id: libroff.h,v 1.31 2014/10/25 14:35:37 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -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,