summaryrefslogtreecommitdiffstats
path: root/man.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-01-15 04:26:39 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-01-15 04:26:39 +0000
commit581eba212eeec68331e4aa4a904d7c2d72bac114 (patch)
treed24a62288413bfb95754a300f45747756dc9943e /man.c
parent23a511d07a0f2e04178f507d768c9e5e7e86f858 (diff)
downloadmandoc-581eba212eeec68331e4aa4a904d7c2d72bac114.tar.gz
Fatal errors no longer exist.
If a file can be opened, mandoc will produce some output; at worst, the output may be almost empty. Simplifies error handling and frees a message type for future use.
Diffstat (limited to 'man.c')
-rw-r--r--man.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/man.c b/man.c
index 8e8cf725..b58cdd41 100644
--- a/man.c
+++ b/man.c
@@ -109,12 +109,11 @@ man_alloc(struct roff *roff, struct mparse *parse,
return(p);
}
-int
+void
man_endparse(struct man *man)
{
man_macroend(man);
- return(1);
}
int