From dd2076332ac7deafb5fe4ca97b255ce8964654fd Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 17 Jan 2009 20:10:36 +0000 Subject: Lint checks. --- argv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'argv.c') 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); -- cgit