summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-02-15 21:25:33 -0700
committerKarl Williamson <khw@cpan.org>2018-02-18 15:44:23 -0700
commitb2e9ba0c7ee0f62ac452f6ba0a7389659e2d6ee4 (patch)
treed37d3da4548dc6d5ef0a2995d7d7fdb623d756e1 /proto.h
parentde0752cdd9e4ef71ce6659cbc3e8893a3a42ad7e (diff)
downloadperl-b2e9ba0c7ee0f62ac452f6ba0a7389659e2d6ee4.tar.gz
Revise sync_locale() for safe multi-threaded operation
This function now returns a boolean, and does not want an aTHX parameter. There should be no impact on code that uses the macro form to call it.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index 920d625709..ec5009e9bd 100644
--- a/proto.h
+++ b/proto.h
@@ -3513,7 +3513,7 @@ PERL_CALLCONV SV* Perl_swash_init(pTHX_ const char* pkg, const char* name, SV* l
#define PERL_ARGS_ASSERT_SWASH_INIT \
assert(pkg); assert(name); assert(listsv)
-PERL_CALLCONV void Perl_sync_locale(pTHX);
+PERL_CALLCONV bool Perl_sync_locale(void);
PERL_CALLCONV void Perl_sys_init(int* argc, char*** argv);
#define PERL_ARGS_ASSERT_SYS_INIT \
assert(argc); assert(argv)