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>
This commit is contained in:
parent
70df2df1cc
commit
cb8ff7ed5a
@ -234,11 +234,11 @@ static void freecnfa(struct cnfa *cnfa);
|
|||||||
static void dumpnfa(struct nfa *nfa, FILE *f);
|
static void dumpnfa(struct nfa *nfa, FILE *f);
|
||||||
|
|
||||||
#ifdef REG_DEBUG
|
#ifdef REG_DEBUG
|
||||||
static void dumpstate(struct state *, FILE *);
|
static void dumpstate(struct state *s, FILE *f);
|
||||||
static void dumparcs(struct state *, FILE *);
|
static void dumparcs(struct state *s, FILE *f);
|
||||||
static void dumparc(struct arc *, struct state *, FILE *);
|
static void dumparc(struct arc *a, struct state *s, FILE *f);
|
||||||
static void dumpcnfa(struct cnfa *, FILE *);
|
static void dumpcnfa(struct cnfa *cnfa, FILE *f);
|
||||||
static void dumpcstate(int, struct cnfa *, FILE *);
|
static void dumpcstate(int st, struct cnfa *cnfa, FILE *f);
|
||||||
#endif
|
#endif
|
||||||
/* === regc_cvec.c === */
|
/* === regc_cvec.c === */
|
||||||
static struct cvec *newcvec(int nchrs, int nranges);
|
static struct cvec *newcvec(int nchrs, int nranges);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user