summaryrefslogtreecommitdiffstats
path: root/argv.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-01-17 20:10:36 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-01-17 20:10:36 +0000
commitdd2076332ac7deafb5fe4ca97b255ce8964654fd (patch)
treece3c7d038801a16c4ae3993ee3dedb51b65e8255 /argv.c
parent0b5cea59a912aaf566e5d1258761bd53beaf6a35 (diff)
downloadmandoc-dd2076332ac7deafb5fe4ca97b255ce8964654fd.tar.gz
Lint checks.
Diffstat (limited to 'argv.c')
-rw-r--r--argv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/argv.c b/argv.c
index e1415d31..1fa3ca34 100644
--- a/argv.c
+++ b/argv.c
@@ -29,7 +29,7 @@
/* FIXME: .It called with -column and quoted arguments. */
static int lookup(int, const char *);
-static int parse(struct mdoc *, int, int,
+static int parse(struct mdoc *, int,
struct mdoc_arg *, int *, char *);
static int parse_single(struct mdoc *, int,
struct mdoc_arg *, int *, char *);
@@ -404,7 +404,7 @@ parse_single(struct mdoc *mdoc, int line,
static int
-parse(struct mdoc *mdoc, int line, int tok,
+parse(struct mdoc *mdoc, int line,
struct mdoc_arg *v, int *pos, char *buf)
{
@@ -469,7 +469,7 @@ mdoc_argv(struct mdoc *mdoc, int line, int tok,
/* FIXME: whitespace if no value. */
ppos = *pos;
- if ( ! parse(mdoc, line, tok, v, pos, buf))
+ if ( ! parse(mdoc, line, v, pos, buf))
return(ARGV_ERROR);
if ( ! postparse(mdoc, line, v, ppos))
return(ARGV_ERROR);