summaryrefslogtreecommitdiffstats
path: root/libmandoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-04-17 09:08:19 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-04-17 09:08:19 +0000
commit3a57b035c09a784e5ce7ada2b1a4ce22ed7320fe (patch)
tree515d02d4ccb4880b38f6df7c57a3f8e598c1736d /libmandoc.h
parent9ccae84ab6241d21623e7c1872a91f839f32e1c9 (diff)
downloadmandoc-3a57b035c09a784e5ce7ada2b1a4ce22ed7320fe.tar.gz
Get mdoc_argv.c ready to use [some of] mandoc_getarg() by giving said
function a parameter to suppress warnings.
Diffstat (limited to 'libmandoc.h')
-rw-r--r--libmandoc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmandoc.h b/libmandoc.h
index cdfa2c6e..e78c5494 100644
--- a/libmandoc.h
+++ b/libmandoc.h
@@ -74,7 +74,8 @@ void mandoc_msg(enum mandocerr, struct mparse *,
void mandoc_vmsg(enum mandocerr, struct mparse *,
int, int, const char *, ...);
char *mandoc_strdup(const char *);
-char *mandoc_getarg(struct mparse *, char **, int, int *);
+char *mandoc_getarg(struct mparse *,
+ char **, int, int, int *);
char *mandoc_normdate(struct mparse *, char *, int, int);
int mandoc_eos(const char *, size_t, int);
int mandoc_hyph(const char *, const char *);