=================================================================== RCS file: /cvs/mandoc/Attic/argv.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -p -r1.15 -r1.16 --- mandoc/Attic/argv.c 2009/01/16 12:23:25 1.15 +++ mandoc/Attic/argv.c 2009/01/17 20:10:36 1.16 @@ -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 * @@ -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);