summaryrefslogtreecommitdiffstats
path: root/mdoc.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 /mdoc.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 'mdoc.c')
-rw-r--r--mdoc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mdoc.c b/mdoc.c
index ba9cccc4..cb204910 100644
--- a/mdoc.c
+++ b/mdoc.c
@@ -187,7 +187,6 @@ mdoc_alloc(struct roff *roff, struct mparse *parse,
p->quick = quick;
p->roff = roff;
- mdoc_hash_init();
mdoc_alloc1(p);
return(p);
}