summaryrefslogtreecommitdiff
path: root/intrpvar.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2021-02-16 06:27:54 -0700
committerKarl Williamson <khw@cpan.org>2022-08-09 18:05:59 -0600
commitf3e902221cb32cd5f0764c55f6bc832e77620237 (patch)
tree3eedfc366c9c5dffbb866e1eac5d66055cf017db /intrpvar.h
parent7b5ca0e3b094ba6744a4213a3ab14de057fbfec6 (diff)
downloadperl-f3e902221cb32cd5f0764c55f6bc832e77620237.tar.gz
Make two locale PL_ strings const char*
This adds some compile safety to these.
Diffstat (limited to 'intrpvar.h')
-rw-r--r--intrpvar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intrpvar.h b/intrpvar.h
index d35dccb88f..cdca7e3e3a 100644
--- a/intrpvar.h
+++ b/intrpvar.h
@@ -759,7 +759,7 @@ PERLVARI(I, collation_standard, bool, TRUE)
PERLVARI(I, langinfo_buf, char *, NULL)
PERLVARI(I, langinfo_bufsize, Size_t, 0)
-PERLVARI(I, setlocale_buf, char *, NULL)
+PERLVARI(I, setlocale_buf, const char *, NULL)
PERLVARI(I, setlocale_bufsize, Size_t, 0)
#ifdef PERL_SAWAMPERSAND