summaryrefslogtreecommitdiff
path: root/src/backend/regex/regcomp.c
diff options
context:
space:
mode:
authorJeff Davis <jdavis@postgresql.org>2025-10-14 11:04:04 -0700
committerJeff Davis <jdavis@postgresql.org>2025-10-14 11:04:04 -0700
commit8efe982fe2c5b900554d489c0409618638193aef (patch)
treeb032bf8cbbf03def9ff17e542e3af6a7bb3be643 /src/backend/regex/regcomp.c
parentc9b299f6df983ff3b196677a625393c31598d86f (diff)
pg_regc_locale.c: rename some static functions.
Use the more specific prefix "regc_" rather than the generic prefix "pg_". A subsequent commit will create generic versions of some of these functions that can be called from other modules. Discussion: https://postgr.es/m/0151ad01239e2cc7b3139644358cf8f7b9622ff7.camel@j-davis.com
Diffstat (limited to 'src/backend/regex/regcomp.c')
-rw-r--r--src/backend/regex/regcomp.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/backend/regex/regcomp.c b/src/backend/regex/regcomp.c
index 15b264e50f1..3e18e4a78a2 100644
--- a/src/backend/regex/regcomp.c
+++ b/src/backend/regex/regcomp.c
@@ -249,18 +249,18 @@ static struct cvec *getcvec(struct vars *v, int nchrs, int nranges);
static void freecvec(struct cvec *cv);
/* === regc_pg_locale.c === */
-static int pg_wc_isdigit(pg_wchar c);
-static int pg_wc_isalpha(pg_wchar c);
-static int pg_wc_isalnum(pg_wchar c);
-static int pg_wc_isword(pg_wchar c);
-static int pg_wc_isupper(pg_wchar c);
-static int pg_wc_islower(pg_wchar c);
-static int pg_wc_isgraph(pg_wchar c);
-static int pg_wc_isprint(pg_wchar c);
-static int pg_wc_ispunct(pg_wchar c);
-static int pg_wc_isspace(pg_wchar c);
-static pg_wchar pg_wc_toupper(pg_wchar c);
-static pg_wchar pg_wc_tolower(pg_wchar c);
+static int regc_wc_isdigit(pg_wchar c);
+static int regc_wc_isalpha(pg_wchar c);
+static int regc_wc_isalnum(pg_wchar c);
+static int regc_wc_isword(pg_wchar c);
+static int regc_wc_isupper(pg_wchar c);
+static int regc_wc_islower(pg_wchar c);
+static int regc_wc_isgraph(pg_wchar c);
+static int regc_wc_isprint(pg_wchar c);
+static int regc_wc_ispunct(pg_wchar c);
+static int regc_wc_isspace(pg_wchar c);
+static pg_wchar regc_wc_toupper(pg_wchar c);
+static pg_wchar regc_wc_tolower(pg_wchar c);
/* === regc_locale.c === */
static chr element(struct vars *v, const chr *startp, const chr *endp);