summaryrefslogtreecommitdiff
path: root/src/include/regex
diff options
context:
space:
mode:
authorTom Lane2019-05-22 17:04:48 +0000
committerTom Lane2019-05-22 17:04:48 +0000
commit8255c7a5eeba8f1a38b7a431c04909bde4f5e67d (patch)
tree50b5b32eaf388701b2714244a10fb23f8d4a2c7c /src/include/regex
parentbe76af171cdb3e7465c4ef234af403f97ad79b7b (diff)
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
Diffstat (limited to 'src/include/regex')
-rw-r--r--src/include/regex/regex.h4
-rw-r--r--src/include/regex/regexport.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/include/regex/regex.h b/src/include/regex/regex.h
index 23ad03d9304..dc31899aa4d 100644
--- a/src/include/regex/regex.h
+++ b/src/include/regex/regex.h
@@ -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_ */
diff --git a/src/include/regex/regexport.h b/src/include/regex/regexport.h
index f5f1533f155..972fb604a97 100644
--- a/src/include/regex/regexport.h
+++ b/src/include/regex/regexport.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_ */