summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-10-04 10:58:16 -0600
committerKarl Williamson <khw@cpan.org>2022-10-10 13:12:22 -0600
commit75a5e20987c7503631ba7baa0d0f0b8671ad4ced (patch)
tree9362235430015e2382554c070ebefd56167aa1d1 /embed.fnc
parent3d3bea996b3b73e474a80a4fde19459ea89dbeff (diff)
downloadperl-75a5e20987c7503631ba7baa0d0f0b8671ad4ced.tar.gz
Add some const to wrap_wsetlocale
And move declarations closer to first use as allowed in C99
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc3
1 files changed, 2 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 5a42e111a8..fa3bfb34c6 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -3430,7 +3430,8 @@ 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 \
|NULLOK const wchar_t * wstring
-S |char *|wrap_wsetlocale |const int category \
+S |const char *|wrap_wsetlocale \
+ |const int category \
|NULLOK const char *locale
# endif
# if defined(HAS_NL_LANGINFO) || defined(HAS_NL_LANGINFO_L)