postgres.git / summary / log / commit / refs
commit cb8ff7ed5ac907a4a574413f3e46a3522d7b164c
Author: Peter Geoghegan <pg@bowt.ie>
Date: Mon Sep 19 22:47:04 2022 +0000
First released in: 16.0
Consistently use named parameters in regex code consistently.
Adjust a handful of remaining function prototypes that were overlooked
by recent commit bc2187ed. This oversight wasn't caught by clang-tidy
because the functions in question are only built in custom REG_DEBUG
builds.
Author: Peter Geoghegan <pg@bowt.ie>
Reported-By: Tom Lane <tgl@sss.pgh.pa.us>
src/backend/regex/regcomp.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/backend/regex/regcomp.c b/src/backend/regex/regcomp.c
index e6ff3653a77..bb8c2405989 100644
--- a/src/backend/regex/regcomp.c
+++ b/src/backend/regex/regcomp.c
@@ -234,11 +234,11 @@ static void freecnfa(struct cnfa *cnfa);
static void dumpnfa(struct nfa *nfa, FILE *f);
#ifdef REG_DEBUG
-static void dumpstate(struct state *, FILE *);
-static void dumparcs(struct state *, FILE *);
-static void dumparc(struct arc *, struct state *, FILE *);
-static void dumpcnfa(struct cnfa *, FILE *);
-static void dumpcstate(int, struct cnfa *, FILE *);
+static void dumpstate(struct state *s, FILE *f);
+static void dumparcs(struct state *s, FILE *f);
+static void dumparc(struct arc *a, struct state *s, FILE *f);
+static void dumpcnfa(struct cnfa *cnfa, FILE *f);
+static void dumpcstate(int st, struct cnfa *cnfa, FILE *f);
#endif
/* === regc_cvec.c === */
static struct cvec *newcvec(int nchrs, int nranges);
[parent: 70df2df1cc89]