aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/argv.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-14 05:21:58 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-14 05:21:58 +0000
commitdd296a1678ea613037cf62e6186201645adb26dc (patch)
tree673afab35a710bb25bfc306217970cd4e0f00bc2 /argv.c
parent8e37e41aceb3299a93379ef910ac09f41fb2f59b (diff)
downloadmandoc-dd296a1678ea613037cf62e6186201645adb26dc.tar.gz
mandoc-dd296a1678ea613037cf62e6186201645adb26dc.tar.zst
mandoc-dd296a1678ea613037cf62e6186201645adb26dc.zip
mdoc.3 refers to local mdoc.7.
mdoc.7 includes its compatibility with system-dependent roff installations.
Diffstat (limited to 'argv.c')
-rw-r--r--argv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/argv.c b/argv.c
index fa9f5cf5..572d9590 100644
--- a/argv.c
+++ b/argv.c
@@ -1,4 +1,4 @@
-/* $Id: argv.c,v 1.50 2009/03/12 16:30:50 kristaps Exp $ */
+/* $Id: argv.c,v 1.51 2009/03/14 05:21:58 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -60,7 +60,7 @@ enum merr {
static int argv_a2arg(int, const char *);
static int args(struct mdoc *, int, int *,
char *, int, char **);
-static int argv(struct mdoc *, int, int,
+static int argv(struct mdoc *, int,
struct mdoc_argv *, int *, char *);
static int argv_single(struct mdoc *, int,
struct mdoc_argv *, int *, char *);
@@ -292,7 +292,7 @@ mdoc_argv(struct mdoc *mdoc, int line, int tok,
/* FIXME: whitespace if no value. */
- if ( ! argv(mdoc, tok, line, &tmp, pos, buf))
+ if ( ! argv(mdoc, line, &tmp, pos, buf))
return(ARGV_ERROR);
if (NULL == (arg = *v)) {
@@ -841,7 +841,7 @@ argv_single(struct mdoc *mdoc, int line,
* multiple parameters.
*/
static int
-argv(struct mdoc *mdoc, int tok, int line,
+argv(struct mdoc *mdoc, int line,
struct mdoc_argv *v, int *pos, char *buf)
{