summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-10-06 09:12:59 -0600
committerKarl Williamson <khw@cpan.org>2022-10-10 13:12:22 -0600
commit5c686f46a71fe960e9455ae428b50955d6c6fdb1 (patch)
treec7e880ff22a5ad3b62f10f7e7c3cc4e561dac365 /embed.fnc
parent75a5e20987c7503631ba7baa0d0f0b8671ad4ced (diff)
downloadperl-5c686f46a71fe960e9455ae428b50955d6c6fdb1.tar.gz
locale.c: Make win32_setlocale return const *
Add a bit of safety, and makes it correspond to the other setlocale returns we use.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index fa3bfb34c6..7045868c7d 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -3425,7 +3425,7 @@ S |void |print_collxfrm_input_and_return \
# endif
# endif
# ifdef WIN32
-S |char* |win32_setlocale|int category|NULLOK const char* locale
+S |const char*|win32_setlocale|int category|NULLOK const char* locale
ST |wchar_t *|Win_byte_string_to_wstring|const UINT code_page \
|NULLOK const char * byte_string
ST |char * |Win_wstring_to_byte_string|const UINT code_page \