diff options
author | Karl Williamson <khw@cpan.org> | 2021-02-16 06:27:54 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-08-09 18:05:59 -0600 |
commit | f3e902221cb32cd5f0764c55f6bc832e77620237 (patch) | |
tree | 3eedfc366c9c5dffbb866e1eac5d66055cf017db /intrpvar.h | |
parent | 7b5ca0e3b094ba6744a4213a3ab14de057fbfec6 (diff) | |
download | perl-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.h | 2 |
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 |