CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2018/12/13 23:33:03
Modified files: usr.bin/mandoc : eqn.c eqn_parse.h libmandoc.h man_macro.c mandoc.c mdoc_argv.c read.c roff.c roff.h tbl.c tbl_int.h tbl_parse.h Log message: 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.