aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libman.h
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
commit24719645e5444a6acaeb47260a958a471c5eeffe (patch)
treec81b110c1963e76c1b017df27cbee7ab8c2dad23 /libman.h
parent70a9dbd1a5a305812354c332d729472bd2c06561 (diff)
downloadmandoc-24719645e5444a6acaeb47260a958a471c5eeffe.tar.gz
mandoc-24719645e5444a6acaeb47260a958a471c5eeffe.tar.zst
mandoc-24719645e5444a6acaeb47260a958a471c5eeffe.zip
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 'libman.h')
-rw-r--r--libman.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libman.h b/libman.h
index d5166ed3..916d9576 100644
--- a/libman.h
+++ b/libman.h
@@ -1,4 +1,4 @@
-/* $Id: libman.h,v 1.71 2015/04/18 16:06:39 schwarze Exp $ */
+/* $Id: libman.h,v 1.72 2015/04/18 17:01:58 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -43,7 +43,6 @@ void man_head_alloc(struct roff_man *, int, int, int);
void man_body_alloc(struct roff_man *, int, int, int);
void man_elem_alloc(struct roff_man *, int, int, int);
void man_node_delete(struct roff_man *, struct roff_node *);
-void man_hash_init(void);
int man_hash_find(const char *);
void man_macroend(struct roff_man *);
void man_valid_post(struct roff_man *);