summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-11-24 21:06:36 -0700
committerKarl Williamson <public@khwilliamson.com>2012-11-24 21:45:22 -0700
commit5aaab254c02795622bdf42e348ad8473aa1fc643 (patch)
tree341c84b4a4867c96c3bcd4a63d34c244356054ce /perl.h
parenta8bd0d47f960000fee81e97d55dd5e8bac15e034 (diff)
downloadperl-5aaab254c02795622bdf42e348ad8473aa1fc643.tar.gz
Remove "register" declarations
This finishes the removal of register declarations started by eb578fdb5569b91c28466a4d1939e381ff6ceaf4. It neglected the ones in function parameter declarations, and didn't include things in dist, ext, and lib, which this does include
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl.h b/perl.h
index cab4eba8f7..5e28ba72a1 100644
--- a/perl.h
+++ b/perl.h
@@ -157,7 +157,7 @@
# endif
#endif
-#define pVAR register struct perl_vars* my_vars PERL_UNUSED_DECL
+#define pVAR struct perl_vars* my_vars PERL_UNUSED_DECL
#ifdef PERL_GLOBAL_STRUCT
# define dVAR pVAR = (struct perl_vars*)PERL_GET_VARS()
@@ -170,7 +170,7 @@
# define MULTIPLICITY
# endif
# define tTHX PerlInterpreter*
-# define pTHX register tTHX my_perl PERL_UNUSED_DECL
+# define pTHX tTHX my_perl PERL_UNUSED_DECL
# define aTHX my_perl
# define aTHXa(a) aTHX = (tTHX)a
# ifdef PERL_GLOBAL_STRUCT
@@ -394,7 +394,7 @@
#endif
#ifndef pTHXx
-# define pTHXx register PerlInterpreter *my_perl
+# define pTHXx PerlInterpreter *my_perl
# define pTHXx_ pTHXx,
# define aTHXx my_perl
# define aTHXx_ aTHXx,
@@ -442,7 +442,7 @@
# ifdef __GNUC__
# define stringify_immed(s) #s
# define stringify(s) stringify_immed(s)
-register struct op *Perl_op asm(stringify(OP_IN_REGISTER));
+struct op *Perl_op asm(stringify(OP_IN_REGISTER));
# endif
#endif