1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-19 13:42:17 +03:00

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
This commit is contained in:
Jeff Davis
2025-10-14 11:04:04 -07:00
parent c9b299f6df
commit 8efe982fe2
4 changed files with 60 additions and 60 deletions

View File

@@ -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"