summaryrefslogtreecommitdiff
path: root/intrpvar.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-08-01 06:45:47 -0600
committerKarl Williamson <khw@cpan.org>2022-08-22 06:52:07 -0600
commitd53c2691bb2dcf48e139ad3f60f90b4ec579cc2c (patch)
tree1c0a846e1b7e83d0ef5d557fa6d880c046c65253 /intrpvar.h
parentea80ef5d8d54736df0cd56d0efb03748a6c028c1 (diff)
downloadperl-d53c2691bb2dcf48e139ad3f60f90b4ec579cc2c.tar.gz
locale: make PL_langinfo_buf const *
The previous commit allows this change to be made.
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 ac912acd5a..fd25e68e2a 100644
--- a/intrpvar.h
+++ b/intrpvar.h
@@ -757,7 +757,7 @@ PERLVARI(I, collation_standard, bool, TRUE)
/* Assume simple collation */
#endif /* USE_LOCALE_COLLATE */
-PERLVARI(I, langinfo_buf, char *, NULL)
+PERLVARI(I, langinfo_buf, const char *, NULL)
PERLVARI(I, langinfo_bufsize, Size_t, 0)
PERLVARI(I, setlocale_buf, const char *, NULL)
PERLVARI(I, setlocale_bufsize, Size_t, 0)