summaryrefslogtreecommitdiffstats
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
commit464bf99c7bec33718cdc95c963d3e5d3a28b3124 (patch)
treeef4611149e16f2ceec906cc4980285365d2d48bc /tree.c
parentea228aff6a872a947bb23cd1b1405ab1d72c37e6 (diff)
downloadmandoc-464bf99c7bec33718cdc95c963d3e5d3a28b3124.tar.gz
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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/tree.c b/tree.c
index 70429548..4211f877 100644
--- a/tree.c
+++ b/tree.c
@@ -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);
}