diff options
| author | Jeff Davis <jdavis@postgresql.org> | 2025-10-14 11:04:04 -0700 |
|---|---|---|
| committer | Jeff Davis <jdavis@postgresql.org> | 2025-10-14 11:04:04 -0700 |
| commit | 8efe982fe2c5b900554d489c0409618638193aef (patch) | |
| tree | b032bf8cbbf03def9ff17e542e3af6a7bb3be643 /src/include/regex/regcustom.h | |
| parent | c9b299f6df983ff3b196677a625393c31598d86f (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/include/regex/regcustom.h')
| -rw-r--r-- | src/include/regex/regcustom.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/regex/regcustom.h b/src/include/regex/regcustom.h index af0fe97c796..1c0e92f168f 100644 --- a/src/include/regex/regcustom.h +++ b/src/include/regex/regcustom.h @@ -88,10 +88,10 @@ typedef unsigned uchr; /* unsigned type that will hold a chr */ #define MAX_SIMPLE_CHR 0x7FF /* suitable value for Unicode */ /* functions operating on chr */ -#define iscalnum(x) pg_wc_isalnum(x) -#define iscalpha(x) pg_wc_isalpha(x) -#define iscdigit(x) pg_wc_isdigit(x) -#define iscspace(x) pg_wc_isspace(x) +#define iscalnum(x) regc_wc_isalnum(x) +#define iscalpha(x) regc_wc_isalpha(x) +#define iscdigit(x) regc_wc_isdigit(x) +#define iscspace(x) regc_wc_isspace(x) /* and pick up the standard header */ #include "regex.h" |
