summaryrefslogtreecommitdiffstats
path: root/tbl.3
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-12-14 06:33:14 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-12-14 06:33:14 +0000
commite7602bc16044a04fe97beac48909840f1b12ba4e (patch)
treeb489159f1ce065b9075402209449aab86376cc72 /tbl.3
parente3863b1460cd9598ecb57705c9b22c2f2c552953 (diff)
downloadmandoc-e7602bc16044a04fe97beac48909840f1b12ba4e.tar.gz
Cleanup, no functional change:
Now that message handling is properly encapsulated, remove struct mparse pointers from four structs (roff, roff_man, tbl_node, eqn_node) and from the argument lists of five functions (roff_alloc, roff_man_alloc, mandoc_getarg, tbl_alloc, eqn_alloc). Except for being passed to the main program as an opaque object, it now only occurs in read.c, as it should, and not across 15 files like in the past.
Diffstat (limited to 'tbl.3')
-rw-r--r--tbl.37
1 files changed, 0 insertions, 7 deletions
diff --git a/tbl.3 b/tbl.3
index ef710aa2..af84f0f9 100644
--- a/tbl.3
+++ b/tbl.3
@@ -33,7 +33,6 @@
.Fo tbl_alloc
.Fa "int pos"
.Fa "int line"
-.Fa "struct mparse *parse"
.Fc
.Ft void
.Fo tbl_read
@@ -104,12 +103,6 @@ but if there is a span, the function
.Fn tbl_layout
guarantees that these pointers are not
.Dv NULL .
-The function
-.Fn tbl_alloc
-guarantees that the
-.Fa parse
-member is not
-.Dv NULL .
.It Vt struct tbl_opts
This structure describes the options of one table.
It is used as a substructure of