summaryrefslogtreecommitdiffstats
path: root/man_macro.c
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 /man_macro.c
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 'man_macro.c')
-rw-r--r--man_macro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/man_macro.c b/man_macro.c
index aff3fb00..cab56cf1 100644
--- a/man_macro.c
+++ b/man_macro.c
@@ -484,6 +484,6 @@ man_args(struct man *m, int line, int *pos, char *buf, char **v)
if ('\0' == *start)
return(0);
- *v = mandoc_getarg(m->parse, v, line, pos);
+ *v = mandoc_getarg(m->parse, v, line, 1, pos);
return(1);
}