diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-09-21 20:57:58 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-09-21 20:57:58 +0000 |
commit | f80ca1f01053a477123e46378108aca2f4371a5e (patch) | |
tree | 28cd73cef8ffecd43b462ce733bc8a65f0f06222 /usr.bin/mandoc/tree.c | |
parent | 71a87c745f33a23035edcd8b8ab2192b86f2bbbe (diff) |
sync to 1.9.5: make terminal_*, tree_* and out_* functions return void,
making the code simpler
Diffstat (limited to 'usr.bin/mandoc/tree.c')
-rw-r--r-- | usr.bin/mandoc/tree.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/mandoc/tree.c b/usr.bin/mandoc/tree.c index d4c6adc91e5..70e9d64b763 100644 --- a/usr.bin/mandoc/tree.c +++ b/usr.bin/mandoc/tree.c @@ -1,4 +1,4 @@ -/* $Id: tree.c,v 1.3 2009/08/22 20:14:37 schwarze Exp $ */ +/* $Id: tree.c,v 1.4 2009/09/21 20:57:57 schwarze 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); } |