summaryrefslogtreecommitdiff
path: root/perlio.h
diff options
context:
space:
mode:
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;