aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tree.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-09-16 09:41:24 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-09-16 09:41:24 +0000
commit6cbefd50d90dc947c06ea2212c4d3552c4a36c84 (patch)
treed619d6d32e6db6da1019b07c4b26c1cb7c294016 /tree.c
parent5e3756471dbadb7858086a17760f20e36e105612 (diff)
downloadmandoc-6cbefd50d90dc947c06ea2212c4d3552c4a36c84.tar.gz
mandoc-6cbefd50d90dc947c06ea2212c4d3552c4a36c84.tar.zst
mandoc-6cbefd50d90dc947c06ea2212c4d3552c4a36c84.zip
Made tree/term/out() functions return void.
Put err() functions back into front-ends (no use making it needlessly complex).
Diffstat (limited to 'tree.c')
-rw-r--r--tree.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/tree.c b/tree.c
index 5fe714b6..d0aee4ab 100644
--- a/tree.c
+++ b/tree.c
@@ -1,4 +1,4 @@
-/* $Id: tree.c,v 1.14 2009/08/13 11:45:29 kristaps Exp $ */
+/* $Id: tree.c,v 1.15 2009/09/16 09:41:24 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -27,22 +27,20 @@ static void print_man(const struct man_node *, int);
/* ARGSUSED */
-int
+void
tree_mdoc(void *arg, const struct mdoc *mdoc)
{
print_mdoc(mdoc_node(mdoc), 0);
- return(1);
}
/* ARGSUSED */
-int
+void
tree_man(void *arg, const struct man *man)
{
print_man(man_node(man), 0);
- return(1);
}