summaryrefslogtreecommitdiffstatshomepage
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
commitefab70236b25559a1c5375d7071cbd2c4f4a5bd1 (patch)
tree8173d251fb7dad8da1326446a75fb8d99d1b0854 /argv.c
parentd286305c5d6ecdd0f3ae341a607819738139f1ec (diff)
downloadmandoc-efab70236b25559a1c5375d7071cbd2c4f4a5bd1.tar.gz
mandoc-efab70236b25559a1c5375d7071cbd2c4f4a5bd1.tar.zst
mandoc-efab70236b25559a1c5375d7071cbd2c4f4a5bd1.zip
Lint checks.
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 5c944a58..fd32241d 100644
--- a/argv.c
+++ b/argv.c
@@ -1,4 +1,4 @@
-/* $Id: argv.c,v 1.15 2009/01/16 12:23:25 kristaps Exp $ */
+/* $Id: argv.c,v 1.16 2009/01/17 20:10:36 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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);