summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/adt/pg_locale_libc.c2
-rw-r--r--src/include/utils/pg_locale.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/adt/pg_locale_libc.c b/src/backend/utils/adt/pg_locale_libc.c
index 19a50662398..7ae778dc296 100644
--- a/src/backend/utils/adt/pg_locale_libc.c
+++ b/src/backend/utils/adt/pg_locale_libc.c
@@ -1144,7 +1144,7 @@ wcstombs_l(char *dest, const wchar_t *src, size_t n, locale_t loc)
#endif
/*
- * These functions convert from/to libc's wchar_t, *not* pg_wchar_t.
+ * These functions convert from/to libc's wchar_t, *not* pg_wchar.
* Therefore we keep them here rather than with the mbutils code.
*/
diff --git a/src/include/utils/pg_locale.h b/src/include/utils/pg_locale.h
index e08cb8228fa..683e1a0eef8 100644
--- a/src/include/utils/pg_locale.h
+++ b/src/include/utils/pg_locale.h
@@ -224,7 +224,7 @@ extern void icu_validate_locale(const char *loc_str);
extern char *icu_language_tag(const char *loc_str, int elevel);
extern void report_newlocale_failure(const char *localename);
-/* This function converts from libc's wchar_t, *not* pg_wchar_t */
+/* This function converts from libc's wchar_t, *not* pg_wchar */
extern size_t wchar2char(char *to, const wchar_t *from, size_t tolen,
locale_t loc);