From 4534f390e036ac23ee5e8f0373ffb9f4d785a17d Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 18 Apr 2015 17:01:58 +0000 Subject: 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. --- man.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'man.c') 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; -- cgit