summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2005-12-30 17:05:58 -0600
committerH.Merijn Brand <h.m.brand@xs4all.nl>2006-01-01 10:42:16 +0000
commitcbbf89328f29f925842d180c1410e324b297744d (patch)
tree6f63c59aeb96d4eaafa9b8f1ee25b94fd72730c3 /doio.c
parent359842a5ea25b12844b1a94485cc2aa186d8bdbe (diff)
downloadperl-cbbf89328f29f925842d180c1410e324b297744d.tar.gz
Making 0 pointers to NULLs
Message-ID: <20051231050558.GA29093@petdance.com> p4raw-id: //depot/perl@26558
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/doio.c b/doio.c
index a956af0dd6..fea7c5d9ee 100644
--- a/doio.c
+++ b/doio.c
@@ -1053,7 +1053,7 @@ Perl_do_eof(pTHX_ GV *gv)
Off_t
Perl_do_tell(pTHX_ GV *gv)
{
- register IO *io = 0;
+ register IO *io = NULL;
register PerlIO *fp;
if (gv && (io = GvIO(gv)) && (fp = IoIFP(io))) {
@@ -1072,7 +1072,7 @@ Perl_do_tell(pTHX_ GV *gv)
bool
Perl_do_seek(pTHX_ GV *gv, Off_t pos, int whence)
{
- register IO *io = 0;
+ register IO *io = NULL;
register PerlIO *fp;
if (gv && (io = GvIO(gv)) && (fp = IoIFP(io))) {
@@ -1091,7 +1091,7 @@ Perl_do_seek(pTHX_ GV *gv, Off_t pos, int whence)
Off_t
Perl_do_sysseek(pTHX_ GV *gv, Off_t pos, int whence)
{
- register IO *io = 0;
+ register IO *io = NULL;
register PerlIO *fp;
if (gv && (io = GvIO(gv)) && (fp = IoIFP(io)))