From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (kristaps@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id o6L9FmNd023378 for ; Wed, 21 Jul 2010 05:15:49 -0400 (EDT) Received: (from kristaps@localhost) by krisdoz.my.domain (8.14.3/8.14.3/Submit) id o6L9FmCs030560; Wed, 21 Jul 2010 05:15:48 -0400 (EDT) Date: Wed, 21 Jul 2010 05:15:48 -0400 (EDT) Message-Id: <201007210915.o6L9FmCs030560@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: kristaps@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: Lint-fixes (NetBSD). X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- Lint-fixes (NetBSD). Modified Files: -------------- mdocml: roff.c Revision Data ------------- Index: roff.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/roff.c,v retrieving revision 1.94 retrieving revision 1.95 diff -Lroff.c -Lroff.c -u -p -r1.94 -r1.95 --- roff.c +++ roff.c @@ -132,8 +132,8 @@ static const char *roff_getstrn(const st const char *, size_t); static enum rofferr roff_line(ROFF_ARGS); static enum rofferr roff_nr(ROFF_ARGS); -static int roff_res(struct roff *, int, - char **, size_t *, int, int *); +static int roff_res(struct roff *, + char **, size_t *, int); static void roff_setstr(struct roff *, const char *, const char *); @@ -332,14 +332,14 @@ roff_alloc(struct regset *regs, const ma * is processed. */ static int -roff_res(struct roff *r, int ln, char **bufp, - size_t *szp, int pos, int *offs) +roff_res(struct roff *r, char **bufp, size_t *szp, int pos) { const char *cp, *cpp, *st, *res; int i, maxl; size_t nsz; char *n; + /* LINTED */ for (cp = &(*bufp)[pos]; (cpp = strstr(cp, "\\*")); cp++) { cp = cpp + 2; switch (*cp) { @@ -406,7 +406,7 @@ roff_parseln(struct roff *r, int ln, cha * words to fill in. */ - if (r->first_string && ! roff_res(r, ln, bufp, szp, pos, offs)) + if (r->first_string && ! roff_res(r, bufp, szp, pos)) return(ROFF_RERUN); /* -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv