mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
Phase 2 pgindent run for v12.
Switch to 2.1 version of pg_bsd_indent. This formats multiline function declarations "correctly", that is with additional lines of parameter declarations indented to match where the first line's left parenthesis is. Discussion: https://postgr.es/m/CAEepm=0P3FeTXRcU5B2W3jv3PgRVZ-kGUXLGfd42FFhUROO3ug@mail.gmail.com
This commit is contained in:
@@ -178,7 +178,7 @@ extern size_t pg_regerror(int, const regex_t *, char *, size_t);
|
||||
/* regexp.c */
|
||||
extern regex_t *RE_compile_and_cache(text *text_re, int cflags, Oid collation);
|
||||
extern bool RE_compile_and_execute(text *text_re, char *dat, int dat_len,
|
||||
int cflags, Oid collation,
|
||||
int nmatch, regmatch_t *pmatch);
|
||||
int cflags, Oid collation,
|
||||
int nmatch, regmatch_t *pmatch);
|
||||
|
||||
#endif /* _REGEX_H_ */
|
||||
|
||||
@@ -44,7 +44,7 @@ extern int pg_reg_getinitialstate(const regex_t *regex);
|
||||
extern int pg_reg_getfinalstate(const regex_t *regex);
|
||||
extern int pg_reg_getnumoutarcs(const regex_t *regex, int st);
|
||||
extern void pg_reg_getoutarcs(const regex_t *regex, int st,
|
||||
regex_arc_t *arcs, int arcs_len);
|
||||
regex_arc_t *arcs, int arcs_len);
|
||||
|
||||
/* Functions for gathering information about colors */
|
||||
extern int pg_reg_getnumcolors(const regex_t *regex);
|
||||
@@ -52,6 +52,6 @@ extern int pg_reg_colorisbegin(const regex_t *regex, int co);
|
||||
extern int pg_reg_colorisend(const regex_t *regex, int co);
|
||||
extern int pg_reg_getnumcharacters(const regex_t *regex, int co);
|
||||
extern void pg_reg_getcharacters(const regex_t *regex, int co,
|
||||
pg_wchar *chars, int chars_len);
|
||||
pg_wchar *chars, int chars_len);
|
||||
|
||||
#endif /* _REGEXPORT_H_ */
|
||||
|
||||
Reference in New Issue
Block a user