Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcb8ff7e

Browse files
Consistently use named parameters in regex code consistently.
Adjust a handful of remaining function prototypes that were overlookedby recent commitbc2187e. This oversight wasn't caught by clang-tidybecause the functions in question are only built in custom REG_DEBUGbuilds.Author: Peter Geoghegan <pg@bowt.ie>Reported-By: Tom Lane <tgl@sss.pgh.pa.us>
1 parent70df2df commitcb8ff7e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎src/backend/regex/regcomp.c‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,11 @@ static void freecnfa(struct cnfa *cnfa);
234234
staticvoiddumpnfa(structnfa*nfa,FILE*f);
235235

236236
#ifdefREG_DEBUG
237-
staticvoiddumpstate(structstate*,FILE*);
238-
staticvoiddumparcs(structstate*,FILE*);
239-
staticvoiddumparc(structarc*,structstate*,FILE*);
240-
staticvoiddumpcnfa(structcnfa*,FILE*);
241-
staticvoiddumpcstate(int,structcnfa*,FILE*);
237+
staticvoiddumpstate(structstate*s,FILE*f);
238+
staticvoiddumparcs(structstate*s,FILE*f);
239+
staticvoiddumparc(structarc*a,structstate*s,FILE*f);
240+
staticvoiddumpcnfa(structcnfa*cnfa,FILE*f);
241+
staticvoiddumpcstate(intst,structcnfa*cnfa,FILE*f);
242242
#endif
243243
/* === regc_cvec.c === */
244244
staticstructcvec*newcvec(intnchrs,intnranges);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp