summaryrefslogtreecommitdiffstats
path: root/man.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-04-18 17:01:58 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-04-18 17:01:58 +0000
commit4534f390e036ac23ee5e8f0373ffb9f4d785a17d (patch)
treeccd3380730c698bd52e2e5ea394772f7ac6e1e41 /man.c
parent19dfb5cab356150bf46d159f43ead732a6a6ade5 (diff)
downloadmandoc-4534f390e036ac23ee5e8f0373ffb9f4d785a17d.tar.gz
Move mdoc_hash_init() and man_hash_init() to libmandoc.h
and call them from mparse_alloc() and choose_parser(), preparing unified allocation of struct roff_man.
Diffstat (limited to 'man.c')
-rw-r--r--man.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/man.c b/man.c
index 337f9a99..364e58e7 100644
--- a/man.c
+++ b/man.c
@@ -101,8 +101,6 @@ man_alloc(struct roff *roff, struct mparse *parse,
struct roff_man *p;
p = mandoc_calloc(1, sizeof(*p));
-
- man_hash_init();
p->parse = parse;
p->defos = defos;
p->quick = quick;