aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit6b618405d781b6a4a5425bf52419f31f0362fcf1 (patch)
treed28f1821e50247b93cfa8e53a1db6db3e51a969b /man.c
parent8b5853de9633ceece63738b2ccd5bdba06098315 (diff)
downloadmandoc-6b618405d781b6a4a5425bf52419f31f0362fcf1.tar.gz
mandoc-6b618405d781b6a4a5425bf52419f31f0362fcf1.tar.zst
mandoc-6b618405d781b6a4a5425bf52419f31f0362fcf1.zip
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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/man.c b/man.c
index 766272d9..5261d1e9 100644
--- a/man.c
+++ b/man.c
@@ -1,4 +1,4 @@
-/* $Id: man.c,v 1.146 2014/12/28 14:42:27 schwarze Exp $ */
+/* $Id: man.c,v 1.147 2015/01/15 04:26:40 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -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