From 0d46e09a6299ee39ec954683a582d25f5ea086c7 Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Fri, 14 Oct 2005 03:46:24 +0000 Subject: gcc complains when it sees variables declared const register ... switched them all to register const ... p4raw-id: //depot/perl@25757 --- pp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pp.c') diff --git a/pp.c b/pp.c index e8bafacc4e..db162815bb 100644 --- a/pp.c +++ b/pp.c @@ -3601,7 +3601,7 @@ PP(pp_uc) } s = (U8*)SvPV_force_nomg(sv, len); if (len) { - const register U8 *send = s + len; + register const U8 *send = s + len; if (IN_LOCALE_RUNTIME) { TAINT; @@ -3728,7 +3728,7 @@ PP(pp_quotemeta) dSP; dTARGET; SV * const sv = TOPs; STRLEN len; - const register char *s = SvPV_const(sv,len); + register const char *s = SvPV_const(sv,len); SvUTF8_off(TARG); /* decontaminate */ if (len) { -- cgit v1.2.1