summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2005-12-22 04:57:17 -0600
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-12-22 17:09:59 +0000
commitc445ea15829fa1ef23c4453a817f9c096a56a192 (patch)
treeb82a090e6005af218bbc846b84e47ce12b81d39e /gv.c
parentefa32bb49fad39e670c055d4b6f557a0d2e1a8a2 (diff)
downloadperl-c445ea15829fa1ef23c4453a817f9c096a56a192.tar.gz
Ho! Ho! Ho! Santa brings consting!
Message-ID: <20051222165717.GA2874@petdance.com> p4raw-id: //depot/perl@26450
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gv.c b/gv.c
index 4763cd8e26..e1b1e942fa 100644
--- a/gv.c
+++ b/gv.c
@@ -179,7 +179,7 @@ Perl_gv_init(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, int multi)
Newxz(gp, 1, GP);
GvGP(gv) = gp_ref(gp);
#ifdef PERL_DONT_CREATE_GVSV
- GvSV(gv) = 0;
+ GvSV(gv) = NULL;
#else
GvSV(gv) = NEWSV(72,0);
#endif
@@ -470,7 +470,7 @@ GV *
Perl_gv_fetchmethod_autoload(pTHX_ HV *stash, const char *name, I32 autoload)
{
register const char *nend;
- const char *nsplit = 0;
+ const char *nsplit = NULL;
GV* gv;
HV* ostash = stash;
@@ -736,11 +736,11 @@ Perl_gv_fetchpvn_flags(pTHX_ const char *nambeg, STRLEN full_len, I32 flags,
I32 sv_type)
{
register const char *name = nambeg;
- register GV *gv = 0;
+ register GV *gv = NULL;
GV**gvp;
I32 len;
register const char *namend;
- HV *stash = 0;
+ HV *stash = NULL;
const I32 no_init = flags & (GV_NOADD_NOINIT | GV_NOINIT);
const I32 no_expand = flags & GV_NOEXPAND;
const I32 add = flags & ~SVf_UTF8 & ~GV_NOADD_NOINIT & ~GV_NOEXPAND;