summaryrefslogtreecommitdiff
path: root/src/include/common/unicode_case.h
diff options
context:
space:
mode:
authorPeter Geoghegan2024-06-12 21:01:51 +0000
committerPeter Geoghegan2024-06-12 21:01:51 +0000
commit6207f08f700ddc874765919202727fb0171b5403 (patch)
treea1781e4c75cf2c334976322ad823bbfaf7d94c06 /src/include/common/unicode_case.h
parenta0fe90efef91fcd578a85a0f0c5bcab55285b1d7 (diff)
Harmonize function parameter names for Postgres 17.
Make sure that function declarations use names that exactly match the corresponding names from function definitions in a few places. These inconsistencies were all introduced during Postgres 17 development. pg_bsd_indent still has a couple of similar inconsistencies, which I (pgeoghegan) have left untouched for now. This commit was written with help from clang-tidy, by mechanically applying the same rules as similar clean-up commits (the earliest such commit was commit 035ce1fe).
Diffstat (limited to 'src/include/common/unicode_case.h')
-rw-r--r--src/include/common/unicode_case.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/common/unicode_case.h b/src/include/common/unicode_case.h
index c1c2d4c5762..5a65c12d453 100644
--- a/src/include/common/unicode_case.h
+++ b/src/include/common/unicode_case.h
@@ -18,9 +18,9 @@
typedef size_t (*WordBoundaryNext) (void *wbstate);
-pg_wchar unicode_lowercase_simple(pg_wchar ucs);
-pg_wchar unicode_titlecase_simple(pg_wchar ucs);
-pg_wchar unicode_uppercase_simple(pg_wchar ucs);
+pg_wchar unicode_lowercase_simple(pg_wchar code);
+pg_wchar unicode_titlecase_simple(pg_wchar code);
+pg_wchar unicode_uppercase_simple(pg_wchar code);
size_t unicode_strlower(char *dst, size_t dstsize, const char *src,
ssize_t srclen);
size_t unicode_strtitle(char *dst, size_t dstsize, const char *src,