summaryrefslogtreecommitdiffstats
path: root/libmdoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-03-17 11:30:23 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-03-17 11:30:23 +0000
commitb8834ed2b38344025a694c113bdc5c9247d8dc7e (patch)
tree43048b0e3e1a25b8e7392ddd5ca0f540934aa492 /libmdoc.h
parentff909bf468538a284ebc9c54861cd32cbd19251c (diff)
downloadmandoc-b8834ed2b38344025a694c113bdc5c9247d8dc7e.tar.gz
Clean-up in libmdoc: fix last checks for mdoc_*msg return value, then
make mdoc_vmsg not return an int. libmdoc is now completely clean of return-value checks from the message subsystem.
Diffstat (limited to 'libmdoc.h')
-rw-r--r--libmdoc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmdoc.h b/libmdoc.h
index 25fb394c..9a493730 100644
--- a/libmdoc.h
+++ b/libmdoc.h
@@ -89,7 +89,7 @@ __BEGIN_DECLS
(*(m)->msg)((t), (m)->data, (l), (p), NULL)
#define mdoc_nmsg(m, n, t) \
(*(m)->msg)((t), (m)->data, (n)->line, (n)->pos, NULL)
-int mdoc_vmsg(struct mdoc *, enum mandocerr,
+void mdoc_vmsg(struct mdoc *, enum mandocerr,
int, int, const char *, ...);
int mdoc_macro(MACRO_PROT_ARGS);
int mdoc_word_alloc(struct mdoc *,