diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-18 17:28:36 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-18 17:28:36 +0000 |
commit | acfef3c388fe4c84eaad68e8f398c7873f1bb732 (patch) | |
tree | 983fdb2594993b437e01958b7689ab34ca64069a /libmdoc.h | |
parent | 24719645e5444a6acaeb47260a958a471c5eeffe (diff) | |
download | mandoc-acfef3c388fe4c84eaad68e8f398c7873f1bb732.tar.gz mandoc-acfef3c388fe4c84eaad68e8f398c7873f1bb732.tar.zst mandoc-acfef3c388fe4c84eaad68e8f398c7873f1bb732.zip |
Unify {mdoc,man}_{alloc,reset,free}() into roff_man_{alloc,reset,free}().
Minus 80 lines of code, no functional change.
Written on the train from Koeln to Wolfsburg returning from p2k15.
Diffstat (limited to 'libmdoc.h')
-rw-r--r-- | libmdoc.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: libmdoc.h,v 1.101 2015/04/18 17:01:58 schwarze Exp $ */ +/* $Id: libmdoc.h,v 1.102 2015/04/18 17:28:36 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> @@ -78,7 +78,6 @@ void mdoc_tail_alloc(struct roff_man *, int, int, int); struct roff_node *mdoc_body_alloc(struct roff_man *, int, int, int); struct roff_node *mdoc_endbody_alloc(struct roff_man *, int, int, int, struct roff_node *, enum mdoc_endbody); -void mdoc_node_delete(struct roff_man *, struct roff_node *); void mdoc_node_relink(struct roff_man *, struct roff_node *); int mdoc_hash_find(const char *); const char *mdoc_a2att(const char *); |