summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-02-20 09:26:15 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-02-20 09:26:15 +0000
commit4608196e45589eea5792cff92b551109899ddb06 (patch)
tree584bcc5d3498ebc1d76f0afe65ce7c97e95768b5 /scope.c
parentbcb11275f9e8e4324ef33449c82bea92e44f6386 (diff)
downloadperl-4608196e45589eea5792cff92b551109899ddb06.tar.gz
More NullXXX macro removal from Andy Lester
p4raw-id: //depot/perl@27238
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/scope.c b/scope.c
index 5939877a3f..afb8678013 100644
--- a/scope.c
+++ b/scope.c
@@ -296,7 +296,7 @@ Perl_save_ary(pTHX_ GV *gv)
SSPUSHPTR(oav);
SSPUSHINT(SAVEt_AV);
- GvAV(gv) = Null(AV*);
+ GvAV(gv) = NULL;
av = GvAVn(gv);
if (SvMAGIC(oav))
mg_localize((SV*)oav, (SV*)av);
@@ -314,7 +314,7 @@ Perl_save_hash(pTHX_ GV *gv)
SSPUSHPTR(ohv = GvHVn(gv));
SSPUSHINT(SAVEt_HV);
- GvHV(gv) = Null(HV*);
+ GvHV(gv) = NULL;
hv = GvHVn(gv);
if (SvMAGIC(ohv))
mg_localize((SV*)ohv, (SV*)hv);
@@ -887,7 +887,7 @@ Perl_leave_scope(pTHX_ I32 base)
if (PL_comppad)
PL_curpad = AvARRAY(PL_comppad);
else
- PL_curpad = Null(SV**);
+ PL_curpad = NULL;
break;
case SAVEt_PADSV:
{