summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2021-04-10 20:58:28 -0600
committerKarl Williamson <khw@cpan.org>2022-09-22 09:29:22 -0600
commit1e78b5ed5d9d1161bfe209fff53163f270c40151 (patch)
treebd8faaa96be8206c31e9aa2e48e72e9952520a9d /proto.h
parent90cc10b857a1bb71ca948ede120a70a1b0a1dd98 (diff)
downloadperl-1e78b5ed5d9d1161bfe209fff53163f270c40151.tar.gz
locale.c: Refactor internal debugging function
setlocale_debug_string() variants now use Perl_form, a function I didn't know existed when I originally wrote this code.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto.h b/proto.h
index 88c036f91c..82697c9bd7 100644
--- a/proto.h
+++ b/proto.h
@@ -5114,9 +5114,9 @@ STATIC void S_print_bytes_for_locale(pTHX_ const char * const s, const char * co
# if defined(USE_LOCALE)
STATIC const char * S_get_LC_ALL_display(pTHX);
#define PERL_ARGS_ASSERT_GET_LC_ALL_DISPLAY
-STATIC char * S_setlocale_debug_string_i(const unsigned cat_index, const char* const locale, const char* const retval)
+STATIC char * S_my_setlocale_debug_string_i(pTHX_ const unsigned cat_index, const char* locale, const char* retval, const line_t line)
__attribute__warn_unused_result__;
-#define PERL_ARGS_ASSERT_SETLOCALE_DEBUG_STRING_I
+#define PERL_ARGS_ASSERT_MY_SETLOCALE_DEBUG_STRING_I
# if defined(USE_LOCALE_COLLATE)
STATIC void S_print_collxfrm_input_and_return(pTHX_ const char * s, const char * e, const char * xbuf, const STRLEN xlen, const bool is_utf8);