This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlio-two.patch: More warnings squashed, more consts
[perl5.git] / perlio.h
index ba9b067..f0e735e 100644 (file)
--- 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;