summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-10-30 15:53:50 +0000
committerSteve Peters <steve@fisharerojo.org>2006-10-30 15:53:50 +0000
commit8ea43dc8262c63460fee9fcba4164e8b15a45289 (patch)
tree39d612bece193c5b5107274a67c4cf45efbbba2f /perl.c
parent9b5be9b5aa498a302ab752a0d1cdb335a620ede2 (diff)
downloadperl-8ea43dc8262c63460fee9fcba4164e8b15a45289.tar.gz
VOL should be used instead of volatile in the core.
p4raw-id: //depot/perl@29157
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl.c b/perl.c
index 078cf5de7d..269a18c397 100644
--- a/perl.c
+++ b/perl.c
@@ -539,7 +539,7 @@ int
perl_destruct(pTHXx)
{
dVAR;
- volatile int destruct_level; /* 0=none, 1=full, 2=full with checks */
+ VOL int destruct_level; /* 0=none, 1=full, 2=full with checks */
HV *hv;
#ifdef DEBUG_LEAKING_SCALARS_FORK_DUMP
pid_t child;
@@ -2589,7 +2589,7 @@ Perl_call_sv(pTHX_ SV *sv, I32 flags)
LOGOP myop; /* fake syntax tree node */
UNOP method_op;
I32 oldmark;
- volatile I32 retval = 0;
+ VOL I32 retval = 0;
I32 oldscope;
bool oldcatch = CATCH_GET;
int ret;
@@ -2716,8 +2716,8 @@ Perl_eval_sv(pTHX_ SV *sv, I32 flags)
dVAR;
dSP;
UNOP myop; /* fake syntax tree node */
- volatile I32 oldmark = SP - PL_stack_base;
- volatile I32 retval = 0;
+ VOL I32 oldmark = SP - PL_stack_base;
+ VOL I32 retval = 0;
int ret;
OP* const oldop = PL_op;
dJMPENV;