From 4c2762423e7dcaf40f505c9000f23b6f18a484e5 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 14 Dec 2018 06:33:14 +0000 Subject: 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. --- tbl.3 | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'tbl.3') diff --git a/tbl.3 b/tbl.3 index 047ee3c0..d27b8dda 100644 --- a/tbl.3 +++ b/tbl.3 @@ -1,4 +1,4 @@ -.\" $Id: tbl.3,v 1.5 2018/12/13 02:06:07 schwarze Exp $ +.\" $Id: tbl.3,v 1.6 2018/12/14 06:33:14 schwarze Exp $ .\" .\" Copyright (c) 2013, 2015, 2018 Ingo Schwarze .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: December 13 2018 $ +.Dd $Mdocdate: December 14 2018 $ .Dt TBL 3 .Os .Sh NAME @@ -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 -- cgit v1.2.3-56-ge451