aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libroff.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-12-01 08:05:52 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-12-01 08:05:52 +0000
commited985164976ccd03ae1cd954a33c775bfc84b0c2 (patch)
tree2c4e742bc45b22b16784c4c6bf06af2e105abb2c /libroff.h
parent8b13e228601c0e1f3edae1b46df73770594095d0 (diff)
downloadmandoc-ed985164976ccd03ae1cd954a33c775bfc84b0c2.tar.gz
mandoc-ed985164976ccd03ae1cd954a33c775bfc84b0c2.tar.zst
mandoc-ed985164976ccd03ae1cd954a33c775bfc84b0c2.zip
header cleanup:
* add missing forward declarations * remove needless header inclusions * some style unification
Diffstat (limited to 'libroff.h')
-rw-r--r--libroff.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libroff.h b/libroff.h
index 55d3a42b..dd7ad75a 100644
--- a/libroff.h
+++ b/libroff.h
@@ -1,4 +1,4 @@
-/* $Id: libroff.h,v 1.32 2014/12/01 04:05:32 schwarze Exp $ */
+/* $Id: libroff.h,v 1.33 2014/12/01 08:05:52 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -16,8 +16,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-__BEGIN_DECLS
-
enum tbl_part {
TBL_PART_OPTS, /* in options (first line) */
TBL_PART_LAYOUT, /* describing layout */
@@ -64,6 +62,8 @@ struct eqn_def {
size_t valsz;
};
+__BEGIN_DECLS
+
struct tbl_node *tbl_alloc(int, int, struct mparse *);
void tbl_restart(int, int, struct tbl_node *);
void tbl_free(struct tbl_node *);