summaryrefslogtreecommitdiff
path: root/locale.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-09-28 14:03:49 -0600
committerKarl Williamson <khw@cpan.org>2022-09-30 07:01:47 -0600
commit85a4f4c4517f44d3809493240f1a9b503244c7ad (patch)
tree476ac9ff7761252cb55f62328475716fa0b285b9 /locale.c
parente31c458ba106743af1db34149b866b2c5f9d406b (diff)
downloadperl-85a4f4c4517f44d3809493240f1a9b503244c7ad.tar.gz
Add pTHX to thread_locale_(init|term)
A future commit will want the context for more than just DEBUGGING builds.
Diffstat (limited to 'locale.c')
-rw-r--r--locale.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/locale.c b/locale.c
index 58c0efe3b1..0f3b902a3d 100644
--- a/locale.c
+++ b/locale.c
@@ -6729,14 +6729,12 @@ S_my_setlocale_debug_string_i(pTHX_
#endif
void
-Perl_thread_locale_init()
+Perl_thread_locale_init(pTHX)
{
/* Called from a thread on startup*/
#ifdef USE_THREAD_SAFE_LOCALE
- dTHX_DEBUGGING;
-
DEBUG_L(PerlIO_printf(Perl_debug_log,
"new thread, initial locale is %s;"
" calling setlocale(LC_ALL, \"C\")\n",
@@ -6765,7 +6763,7 @@ Perl_thread_locale_init()
}
void
-Perl_thread_locale_term()
+Perl_thread_locale_term(pTHX)
{
/* Called from a thread as it gets ready to terminate */