diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-19 14:25:41 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-19 14:25:41 +0000 |
commit | b41835362693d09c3eff29cb37f2217b9dca8cc3 (patch) | |
tree | 304f88d63b2cc2aa84f33f3805156cd93c4f7cec /libmdoc.h | |
parent | eed5e7f1fb85805f1b324c5a4501ed30467ae2a0 (diff) | |
download | mandoc-b41835362693d09c3eff29cb37f2217b9dca8cc3.tar.gz |
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.
Diffstat (limited to 'libmdoc.h')
-rw-r--r-- | libmdoc.h | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -67,8 +67,6 @@ extern const struct mdoc_macro *const mdoc_macros; __BEGIN_DECLS void mdoc_macro(MACRO_PROT_ARGS); -void mdoc_word_alloc(struct roff_man *, int, int, const char *); -void mdoc_word_append(struct roff_man *, const char *); void mdoc_elem_alloc(struct roff_man *, int, int, int, struct mdoc_arg *); struct roff_node *mdoc_block_alloc(struct roff_man *, int, int, @@ -82,11 +80,8 @@ const char *mdoc_a2att(const char *); const char *mdoc_a2lib(const char *); const char *mdoc_a2st(const char *); const char *mdoc_a2arch(const char *); -void mdoc_valid_pre(struct roff_man *, struct roff_node *); -void mdoc_valid_post(struct roff_man *); void mdoc_argv(struct roff_man *, int, int, struct mdoc_arg **, int *, char *); -void mdoc_argv_free(struct mdoc_arg *); enum margserr mdoc_args(struct roff_man *, int, int *, char *, int, char **); void mdoc_macroend(struct roff_man *); |