From 8efe982fe2c5b900554d489c0409618638193aef Mon Sep 17 00:00:00 2001 From: Jeff Davis Date: Tue, 14 Oct 2025 11:04:04 -0700 Subject: 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 --- src/backend/regex/regcomp.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/backend/regex/regcomp.c') 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); -- cgit v1.2.3