summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/libmdoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2015-04-18 17:28:09 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2015-04-18 17:28:09 +0000
commit4ecbeb26f11905d17a91ae50bb0f510f59332c8b (patch)
treefc569f3d40e86f3cc765eab1221c644c389b2e3a /usr.bin/mandoc/libmdoc.h
parentdc444622db6500b04f7ba654ef9ed2568aa406b5 (diff)
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 'usr.bin/mandoc/libmdoc.h')
-rw-r--r--usr.bin/mandoc/libmdoc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/mandoc/libmdoc.h b/usr.bin/mandoc/libmdoc.h
index 054b38f786c..7f013c8b4e9 100644
--- a/usr.bin/mandoc/libmdoc.h
+++ b/usr.bin/mandoc/libmdoc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: libmdoc.h,v 1.72 2015/04/18 17:01:28 schwarze Exp $ */
+/* $OpenBSD: libmdoc.h,v 1.73 2015/04/18 17:28:08 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 *);