summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorRobin Barker <RMBarker@cpan.org>2003-05-16 18:16:57 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2003-05-16 15:55:10 +0000
commit04fa0c702a9221c225ba8695a20b08d7da04409f (patch)
tree56f8bd9522534e05fd8140beb22648b0d4854abd /perlio.c
parentea0e37e48a6e7942e23df67a0ae153e0f80bcbb3 (diff)
downloadperl-04fa0c702a9221c225ba8695a20b08d7da04409f.tar.gz
RE: maint snapshot @ 19525
Message-ID: <533D273D4014D411AB1D00062938C4D90404651D@hotel.npl.co.uk> (Part #1: the __format__ and __printf__) p4raw-id: //depot/perl@19527
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/perlio.c b/perlio.c
index 63cf979529..e0cb501c4a 100644
--- a/perlio.c
+++ b/perlio.c
@@ -430,9 +430,14 @@ PerlIO_findFILE(PerlIO *pio)
#include <sys/mman.h>
#endif
-
+/*
+ * Why is this here - not in perlio.h? RMB
+ */
void PerlIO_debug(const char *fmt, ...)
- __attribute__ ((format(__printf__, 1, 2)));
+#ifdef CHECK_FORMAT
+ __attribute__ ((__format__(__printf__, 1, 2)))
+#endif
+;
void
PerlIO_debug(const char *fmt, ...)