aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roff.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
commit0880ade932d57aac1fa88eaaf4668570bff7cf1d (patch)
tree6248d908a8f84be2ed64c5e34082dcb3e41f650b /roff.c
parenta8417ed4885aa3e6440de50e68bc15bb0309ca7f (diff)
downloadmandoc-0880ade932d57aac1fa88eaaf4668570bff7cf1d.tar.gz
mandoc-0880ade932d57aac1fa88eaaf4668570bff7cf1d.tar.zst
mandoc-0880ade932d57aac1fa88eaaf4668570bff7cf1d.zip
Get mdoc_argv.c ready to use [some of] mandoc_getarg() by giving said
function a parameter to suppress warnings.
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/roff.c b/roff.c
index 89d7f466..548e2f94 100644
--- a/roff.c
+++ b/roff.c
@@ -1,4 +1,4 @@
-/* $Id: roff.c,v 1.134 2011/04/13 16:26:11 kristaps Exp $ */
+/* $Id: roff.c,v 1.135 2011/04/17 09:08:19 kristaps Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -1238,7 +1238,7 @@ roff_userdef(ROFF_ARGS)
cp = *bufp + pos;
for (i = 0; i < 9; i++)
arg[i] = '\0' == *cp ? "" :
- mandoc_getarg(r->parse, &cp, ln, &pos);
+ mandoc_getarg(r->parse, &cp, ln, 1, &pos);
/*
* Expand macro arguments.