diff options
author | Robin Barker <RMBarker@cpan.org> | 2003-01-20 15:26:21 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-01-22 12:59:02 +0000 |
commit | 1e56004eea7f1084f781747a68eb85600bd4218f (patch) | |
tree | bf413e1f1f7c6b83b5cd466427185453b302a63b /perlio.h | |
parent | 42d9c3c750e03a3a95cf40f3bfcd11f7b3d3167a (diff) | |
download | perl-1e56004eea7f1084f781747a68eb85600bd4218f.tar.gz |
(was RE: [PATCH] %_ (was Re: [PATCH] operation on `PL_na' may be undefined))
Message-ID: <533D273D4014D411AB1D00062938C4D904046299@hotel.npl.co.uk>
p4raw-id: //depot/perl@18556
Diffstat (limited to 'perlio.h')
-rw-r--r-- | perlio.h | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -206,7 +206,10 @@ extern void PerlIO_init(pTHX); #endif #ifndef PerlIO_stdoutf extern int PerlIO_stdoutf(const char *, ...) - __attribute__ ((__format__(__printf__, 1, 2))); +#ifdef CHECK_FORMAT + __attribute__ ((__format__(__printf__, 1, 2))) +#endif +; #endif #ifndef PerlIO_puts extern int PerlIO_puts(PerlIO *, const char *); @@ -266,11 +269,17 @@ extern void PerlIO_setlinebuf(PerlIO *); #endif #ifndef PerlIO_printf extern int PerlIO_printf(PerlIO *, const char *, ...) - __attribute__ ((__format__(__printf__, 2, 3))); +#ifdef CHECK_FORMAT + __attribute__ ((__format__(__printf__, 2, 3))) +#endif +; #endif #ifndef PerlIO_sprintf extern int PerlIO_sprintf(char *, int, const char *, ...) - __attribute__ ((__format__(__printf__, 3, 4))); +#ifdef CHECK_FORMAT + __attribute__ ((__format__(__printf__, 3, 4))) +#endif +; #endif #ifndef PerlIO_vprintf extern int PerlIO_vprintf(PerlIO *, const char *, va_list); |