summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-09-22 17:19:11 -0600
committerJames E Keenan <jkeenan@cpan.org>2022-09-25 20:12:49 -0400
commited4b2b05d25c19e1c2271b7f125531933fdab5aa (patch)
treefa207ba9c9756ea0a4811b44655112683fc9b1e0 /embed.fnc
parent63397005cf10eb6e95941b225062150533393d21 (diff)
downloadperl-ed4b2b05d25c19e1c2271b7f125531933fdab5aa.tar.gz
locale.c: Stop compiler warning
S_less_dicey_bool_setlocale_r() is a short function that makes a complete set of similar functions, but there is no current use of it. So just #ifdef it out. This resolves #20338
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc3
1 files changed, 3 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index a7b1346223..e52cc57019 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -3390,9 +3390,12 @@ S |const char *|find_locale_from_environment|const unsigned int index
S |const char *|less_dicey_setlocale_r \
|const int category \
|NULLOK const char * locale
+: Not currently used
+# if 0
S |bool |less_dicey_bool_setlocale_r \
|const int cat \
|NN const char * locale
+# endif
S |void |less_dicey_void_setlocale_i \
|const unsigned cat_index \
|NN const char * locale \