diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-18 16:06:39 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-18 16:06:39 +0000 |
commit | 87a05fb3c50ab6e9a1befb22c6e63e3e47f571f3 (patch) | |
tree | 77e785e3111f4ee50958f980199ad642e4ff878d /main.h | |
parent | 2b2bf499dc15caf698ef62f3186d475c99e996bc (diff) | |
download | mandoc-87a05fb3c50ab6e9a1befb22c6e63e3e47f571f3.tar.gz |
Replace the structs mdoc and man by a unified struct roff_man.
Almost completely mechanical, no functional change.
Written on the train from Exeter to London returning from p2k15.
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 19 |
1 files changed, 9 insertions, 10 deletions
@@ -21,8 +21,7 @@ __BEGIN_DECLS struct mchars; -struct mdoc; -struct man; +struct roff_man; struct manoutput; /* @@ -34,15 +33,15 @@ struct manoutput; void *html_alloc(const struct mchars *, const struct manoutput *); -void html_mdoc(void *, const struct mdoc *); -void html_man(void *, const struct man *); +void html_mdoc(void *, const struct roff_man *); +void html_man(void *, const struct roff_man *); void html_free(void *); -void tree_mdoc(void *, const struct mdoc *); -void tree_man(void *, const struct man *); +void tree_mdoc(void *, const struct roff_man *); +void tree_man(void *, const struct roff_man *); -void man_mdoc(void *, const struct mdoc *); -void man_man(void *, const struct man *); +void man_mdoc(void *, const struct roff_man *); +void man_man(void *, const struct roff_man *); void *locale_alloc(const struct mchars *, const struct manoutput *); @@ -59,7 +58,7 @@ void *ps_alloc(const struct mchars *, const struct manoutput *); void pspdf_free(void *); -void terminal_mdoc(void *, const struct mdoc *); -void terminal_man(void *, const struct man *); +void terminal_mdoc(void *, const struct roff_man *); +void terminal_man(void *, const struct roff_man *); __END_DECLS |