summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-08-12 07:22:08 -0600
committerKarl Williamson <khw@cpan.org>2022-09-02 13:21:24 -0600
commit8544fe162d08b4ee03c9249ae2e4bdee667b0056 (patch)
tree95b52e4489204a88df6f14692b514bc5ed98a48f /proto.h
parent3d118badf8a1b8d6cfcb6bf98a51ff62b0b0379a (diff)
downloadperl-8544fe162d08b4ee03c9249ae2e4bdee667b0056.tar.gz
locale.c: Convert final use of S_category_name()
The previous commit removed all but one use of this function, which is replaceable by an array lookup
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/proto.h b/proto.h
index 1bfa1eeb8a..4d695a5405 100644
--- a/proto.h
+++ b/proto.h
@@ -5662,8 +5662,6 @@ PERL_STATIC_INLINE const char * S_mortalized_pv_copy(pTHX_ const char * const pv
#endif
# if defined(USE_LOCALE)
-STATIC const char* S_category_name(const int category);
-#define PERL_ARGS_ASSERT_CATEGORY_NAME
STATIC unsigned int S_get_category_index(const int category, const char * locale);
#define PERL_ARGS_ASSERT_GET_CATEGORY_INDEX
STATIC utf8ness_t S_get_locale_string_utf8ness_i(pTHX_ const char * locale, const unsigned cat_index, const char * string, const locale_utf8ness_t known_utf8);