aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libroff.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-01-01 16:10:40 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-01-01 16:10:40 +0000
commit6fe32c3b53980dd4c549b459bbf7efae0b6352b9 (patch)
tree0513dcebbcda433b32256d39923b9b24bb7bfe40 /libroff.h
parent52a50fec0924869c52803daed1f1d5dbf5f108af (diff)
downloadmandoc-6fe32c3b53980dd4c549b459bbf7efae0b6352b9.tar.gz
mandoc-6fe32c3b53980dd4c549b459bbf7efae0b6352b9.tar.zst
mandoc-6fe32c3b53980dd4c549b459bbf7efae0b6352b9.zip
Raise an error if a table is closed without data.
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 d6f8f92d..3c2d6a11 100644
--- a/libroff.h
+++ b/libroff.h
@@ -1,4 +1,4 @@
-/* $Id: libroff.h,v 1.12 2011/01/01 15:45:18 kristaps Exp $ */
+/* $Id: libroff.h,v 1.13 2011/01/01 16:10:40 kristaps Exp $ */
/*
* Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -54,7 +54,7 @@ struct tbl {
(*(tblp)->msg)((type), (tblp)->data, (line), (col), NULL)
struct tbl *tbl_alloc(int, int, void *, mandocmsg);
-void tbl_restart(struct tbl *);
+void tbl_restart(int, int, struct tbl *);
void tbl_free(struct tbl *);
void tbl_reset(struct tbl *);
enum rofferr tbl_read(struct tbl *, int, const char *, int);