summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2005-05-01 10:07:55 -0500
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-05-02 15:46:51 +0000
commitb7787f18a4d9a5b6205453133731406d627268af (patch)
treee3c1f3ea3b6da55ec9b061bcd3d168147cdcac30 /perlio.c
parent2728842dc82a9f71891d065b28cf34767a63fb0c (diff)
downloadperl-b7787f18a4d9a5b6205453133731406d627268af.tar.gz
printf.patch: Adding printf checking for gcc
Message-ID: <20050501200755.GA30259@petdance.com> p4raw-id: //depot/perl@24365
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/perlio.c b/perlio.c
index 3f659ca4a0..fbe8da235c 100644
--- a/perlio.c
+++ b/perlio.c
@@ -163,6 +163,9 @@ perlsio_binmode(FILE *fp, int iotype, int mode)
else
return 0;
# else
+ (void)fp;
+ (void)iotype;
+ (void)mode;
return 1;
# endif
#endif
@@ -245,6 +248,9 @@ int
PerlIO_binmode(pTHX_ PerlIO *fp, int iotype, int mode, const char *names)
{
#ifdef USE_SFIO
+ (void)iotype;
+ (void)mode;
+ (void)names;
return 1;
#else
return perlsio_binmode(fp, iotype, mode);