From 6cbefd50d90dc947c06ea2212c4d3552c4a36c84 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 16 Sep 2009 09:41:24 +0000 Subject: Made tree/term/out() functions return void. Put err() functions back into front-ends (no use making it needlessly complex). --- tree.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'tree.c') 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 * @@ -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); } -- cgit v1.2.3