Remove the two register keywords from auto variables that PERL_POSION
Nicholas Clark [Mon, 14 Nov 2005 22:48:02 +0000 (22:48 +0000)]
wants to take the address of.

p4raw-id: //depot/perl@26134

hv.c
scope.c

diff --git a/hv.c b/hv.c
index a780b19..afccf85 100644 (file)
--- a/hv.c
+++ b/hv.c
@@ -2157,7 +2157,7 @@ STATIC void
 S_unshare_hek_or_pvn(pTHX_ const HEK *hek, const char *str, I32 len, U32 hash)
 {
     register XPVHV* xhv;
-    register HE *entry;
+    HE *entry;
     register HE **oentry;
     HE **first;
     bool found = 0;
diff --git a/scope.c b/scope.c
index bc985b7..6b710c6 100644 (file)
--- a/scope.c
+++ b/scope.c
@@ -623,7 +623,7 @@ Perl_leave_scope(pTHX_ I32 base)
     register GV *gv;
     register AV *av;
     register HV *hv;
-    register void* ptr;
+    void* ptr;
     register char* str;
     I32 i;