summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/man_html.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2018-12-31 04:55:42 +0000
committerschwarze <schwarze@openbsd.org>2018-12-31 04:55:42 +0000
commit83d65a5a1d86e881d4ff0eecde80e9fbb01a7d35 (patch)
treec342f04814fc90f377e9652f6a7a7df11cb0dbcb /usr.bin/mandoc/man_html.c
parentmention -mretpoline by default on amd64 (diff)
downloadwireguard-openbsd-83d65a5a1d86e881d4ff0eecde80e9fbb01a7d35.tar.xz
wireguard-openbsd-83d65a5a1d86e881d4ff0eecde80e9fbb01a7d35.zip
Cleanup, minus 15 LOC, no functional change:
Simplify the way the man(7) and mdoc(7) validators are called. Reset the parser state with a common function before calling them. There is no need to again reset the parser state afterwards, the parsers are no longer used after validation. This allows getting rid of man_node_validate() and mdoc_node_validate() as separate functions.
Diffstat (limited to 'usr.bin/mandoc/man_html.c')
0 files changed, 0 insertions, 0 deletions