Unify some node handling functions that use TOKEN_NONE.
authorschwarze <schwarze@openbsd.org>
Sun, 19 Apr 2015 14:25:05 +0000 (14:25 +0000)
committerschwarze <schwarze@openbsd.org>
Sun, 19 Apr 2015 14:25:05 +0000 (14:25 +0000)
commit69c34eaaf29fe77dac7242155496c52d521ae721
tree36da78899892fb238907f9245618f0c07acc051f
parentfa92be8060980616caa3fc1384246452b199beed
Unify some node handling functions that use TOKEN_NONE.
* mdoc_word_alloc(), man_word_alloc() -> roff_word_alloc()
* mdoc_word_append(), man_word_append() -> roff_word_append()
* mdoc_addspan(), man_addspan() -> roff_addtbl()
* mdoc_addeqn(), man_addeqn() -> roff_addeqn()
Minus 50 lines of code, no functional change.
usr.bin/mandoc/libman.h
usr.bin/mandoc/libmandoc.h
usr.bin/mandoc/libmdoc.h
usr.bin/mandoc/man.c
usr.bin/mandoc/man_macro.c
usr.bin/mandoc/mdoc.c
usr.bin/mandoc/mdoc_macro.c
usr.bin/mandoc/mdoc_validate.c
usr.bin/mandoc/read.c
usr.bin/mandoc/roff.c
usr.bin/mandoc/roff_int.h