X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=perlapi.c;h=6dee845c5d55a7505a7437826404359d80e5cb11;hb=b8884ce4af9d0f622732315808561f174bd9be0c;hp=d5ef77f4715065bead035eaf793b0cb592e43acc;hpb=96a5add60f1f39d38341c09c11f0542e68f782b0;p=p5sagit%2Fp5-mst-13.2.git diff --git a/perlapi.c b/perlapi.c index d5ef77f..6dee845 100644 --- a/perlapi.c +++ b/perlapi.c @@ -3,7 +3,7 @@ * perlapi.c * * Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, - * 2000, 2001, 2002, 2003, 2004, 2005, 2006, by Larry Wall and others + * 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, by Larry Wall and others * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. @@ -77,17 +77,17 @@ START_EXTERN_C #undef PL_check #undef PL_fold_locale Perl_ppaddr_t** Perl_Gppaddr_ptr(pTHX) { - static const Perl_ppaddr_t* const ppaddr_ptr = PL_ppaddr; + static Perl_ppaddr_t* const ppaddr_ptr = PL_ppaddr; PERL_UNUSED_CONTEXT; return (Perl_ppaddr_t**)&ppaddr_ptr; } Perl_check_t** Perl_Gcheck_ptr(pTHX) { - static const Perl_check_t* const check_ptr = PL_check; + static Perl_check_t* const check_ptr = PL_check; PERL_UNUSED_CONTEXT; return (Perl_check_t**)&check_ptr; } unsigned char** Perl_Gfold_locale_ptr(pTHX) { - static const unsigned char* const fold_locale_ptr = PL_fold_locale; + static unsigned char* const fold_locale_ptr = PL_fold_locale; PERL_UNUSED_CONTEXT; return (unsigned char**)&fold_locale_ptr; }