diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-17 11:30:23 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-17 11:30:23 +0000 |
commit | b8834ed2b38344025a694c113bdc5c9247d8dc7e (patch) | |
tree | 43048b0e3e1a25b8e7392ddd5ca0f540934aa492 /libmdoc.h | |
parent | ff909bf468538a284ebc9c54861cd32cbd19251c (diff) | |
download | mandoc-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 *, |