aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roff.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-04-03 11:35:01 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-04-03 11:35:01 +0000
commit04879dddb6a40e58404e931790876ac21d5733fc (patch)
treea91fd24c03499897f25b9f484ce808ae2b1d4657 /roff.c
parent2dc48867c481f09ce2be74a13a69776d8528efc1 (diff)
downloadmandoc-04879dddb6a40e58404e931790876ac21d5733fc.tar.gz
mandoc-04879dddb6a40e58404e931790876ac21d5733fc.tar.zst
mandoc-04879dddb6a40e58404e931790876ac21d5733fc.zip
Remove some stray argument names from function prototypes,
for consistency with the dominant style used in mandoc. No functional change. Patch from Martin Vahlensieck <academicsolutions dot ch>.
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/roff.c b/roff.c
index 635bbc34..70cf4f37 100644
--- a/roff.c
+++ b/roff.c
@@ -1,7 +1,7 @@
-/* $Id: roff.c,v 1.371 2020/02/27 21:43:44 schwarze Exp $ */
+/* $Id: roff.c,v 1.372 2020/04/03 11:35:01 schwarze Exp $ */
/*
- * Copyright (c) 2008-2012, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2015, 2017-2020 Ingo Schwarze <schwarze@openbsd.org>
+ * Copyright (c) 2008-2012, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -14,6 +14,8 @@
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ *
+ * Implementation of the roff(7) parser for mandoc(1).
*/
#include "config.h"
@@ -196,7 +198,7 @@ static int roff_ds(ROFF_ARGS);
static int roff_ec(ROFF_ARGS);
static int roff_eo(ROFF_ARGS);
static int roff_eqndelim(struct roff *, struct buf *, int);
-static int roff_evalcond(struct roff *r, int, char *, int *);
+static int roff_evalcond(struct roff *, int, char *, int *);
static int roff_evalnum(struct roff *, int,
const char *, int *, int *, int);
static int roff_evalpar(struct roff *, int,