summaryrefslogtreecommitdiff
path: root/perlio.h
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2005-04-27 05:02:43 -0500
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-04-27 14:48:46 +0000
commitde009b76d60bdeb88f1d812ac755ae225805a071 (patch)
treead2ebaa25f2c10be0dfb5cf258193ec6809a6490 /perlio.h
parent6383bd231af7f2656c299fa25c460180b9bf54b4 (diff)
downloadperl-de009b76d60bdeb88f1d812ac755ae225805a071.tar.gz
perlio-two.patch: More warnings squashed, more consts
Message-ID: <20050427150243.GA21883@petdance.com> p4raw-id: //depot/perl@24338
Diffstat (limited to 'perlio.h')
-rw-r--r--perlio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/perlio.h b/perlio.h
index ba9b067684..f0e735e16b 100644
--- a/perlio.h
+++ b/perlio.h
@@ -383,7 +383,8 @@ PERL_EXPORT_C int PerlIO_intmode2str(int rawmode, char *mode, int *writing);
#ifdef PERLIO_LAYERS
PERL_EXPORT_C void PerlIO_cleanup(pTHX);
-PERL_EXPORT_C void PerlIO_debug(const char *fmt, ...);
+PERL_EXPORT_C void PerlIO_debug(const char *fmt, ...)
+ __attribute__format__(__printf__, 1, 2);
typedef struct PerlIO_list_s PerlIO_list_t;